From 1a2cc996d29c0cdffb2cf2eae2f034146e0e4613 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Tue, 22 Mar 2022 16:56:37 +0800
Subject: [PATCH] ''
---
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