husq
2023-09-21 48cab7b00fc4639fe8c9a5f441cdba5d8cb730c6
src/hooks/use-cesium-tsa.ts
@@ -36,7 +36,10 @@
  ])
  // 清除所有标记点
  function removeAllPoint () {
    cesiumExample.entities.removeAll()
    console.log(cesiumExample, 'cesiumExample')
    if (cesiumExample) {
      cesiumExample.entities.removeAll()
    }
  }
  // 添加标记点
  function addPoint (pointOption:pointOption) {