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 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`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huweili-cesium",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "基于 Cesium 的地图工具库(无人机态势、轨迹、围栏、工具栏等)",
5
5
  "type": "module",
6
6
  "main": "./index.js",