huweili-cesium 1.2.10 → 1.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.vue +2 -1
- package/js/customToolbarButtons.js +0 -8
- package/package.json +1 -1
package/index.vue
CHANGED
|
@@ -292,7 +292,8 @@ const initCesium = async () => {
|
|
|
292
292
|
startContinuousRendering(map)
|
|
293
293
|
} catch (error) {
|
|
294
294
|
mapStore.setMapLoadSta(MapLoadStatus.FAILED, props.mapId) // 设置地图加载状态为失败
|
|
295
|
-
console.error('Cesium 地图加载失败:', error)
|
|
295
|
+
console.error('Cesium 地图加载失败:', error)
|
|
296
|
+
}
|
|
296
297
|
}
|
|
297
298
|
|
|
298
299
|
let animationId = null
|
|
@@ -106,14 +106,6 @@ export function createCustomToolbarButtons() {
|
|
|
106
106
|
isCompass: true,
|
|
107
107
|
onClick: (v) => resetCompassDirection(v)
|
|
108
108
|
},
|
|
109
|
-
{
|
|
110
|
-
title: '机型统计',
|
|
111
|
-
iconSrc: `${import.meta.env.BASE_URL}/images/new/tj.svg`,
|
|
112
|
-
onClick: () => {
|
|
113
|
-
// 通过事件总线通知切换机型统计柱状图显示状态
|
|
114
|
-
emit('toggleBarChartControl', 'toggle')
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
109
|
{
|
|
118
110
|
title: '返回初始点位',
|
|
119
111
|
iconSrc: `${import.meta.env.BASE_URL}/images/new/home.svg`,
|