马宇豪
2022-12-27 771e0da9c6082c78a28f5286f89f4f36b05689d3
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);
  }
}