随笔分类 -  cesium随笔

摘要:vue+vite+cesium 报错Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL.vue+vite+cesium 报错Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL. 阅读全文
posted @ 2024-10-28 09:41 奔跑的哈密瓜 阅读(188) 评论(0) 推荐(0) 编辑
摘要:代码为: polylineGeometry = viewer.entities.add({ name: "newPolygon", polyline: { positions: new CallbackProperty(e => { return tempPoints; }, false), cla 阅读全文
posted @ 2021-07-20 11:02 奔跑的哈密瓜 阅读(1248) 评论(0) 推荐(0) 编辑
摘要:Cesium利用坐标定位代码为 coordinates(param) { let that = this; viewer.entities.removeById("coordinates");//第二次定位的时候移除上次的点 let terrainProvider = viewer.scene.te 阅读全文
posted @ 2021-06-30 15:32 奔跑的哈密瓜 阅读(4307) 评论(0) 推荐(1) 编辑
摘要:viewer.entities.add({ position: positions[0], name:"measurePolyline", billboard: { image: "./MyJS/CesiumTools/img/start.png", verticalOrigin: Vertical 阅读全文
posted @ 2021-05-20 17:38 奔跑的哈密瓜 阅读(2138) 评论(2) 推荐(1) 编辑

点击右上角即可分享
微信分享提示