马宇豪
2023-05-05 c819024e241b9f7c54cc3786373ad0d2998f2190
src/components/Map/libs/Map.js
@@ -1414,8 +1414,8 @@
    this.measureTool.clearMeasure();
    this.clearAllPlots();
    this.removeModels();
    // this.viewer.destroy();
    // this.viewer = null;
    // this.fire(UI_CHANGE_EVENT);
    this.viewer.destroy();
    this.viewer = null;
    this.fire(UI_CHANGE_EVENT);
  }
}