From c1df656dee7e75d109d2bee05f0c129e13e9367a Mon Sep 17 00:00:00 2001
From: panzy <225@qq.com>
Date: Sat, 21 May 2022 06:49:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/shf' into shf
---
src/components/Map/libs/Map.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/Map/libs/Map.js b/src/components/Map/libs/Map.js
index 6148960..6ebbb4f 100644
--- a/src/components/Map/libs/Map.js
+++ b/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);
}
}
--
Gitblit v1.9.2