吉安感知网项目-前端
罗广辉
2026-01-31 a8b8b40b8b849def3a02cd3d655bdfd449d1c44f
applications/drone-command/src/utils/mapUtils.js
@@ -315,6 +315,13 @@
   // 销毁处理
   destroy () {
      if (!this._viewer || this._viewer.isDestroyed?.()) {
         this._primitiveCollection = null
         this._entityCircleDataSource = null
         this._viewer = null
         return
      }
      if (this._primitiveCollection) {
         this._primitiveCollection.removeAll()
         this._viewer.scene.primitives.remove(this._primitiveCollection)