From eb614290eec26a4e6d1f47e618caf2cd6b461aed Mon Sep 17 00:00:00 2001 From: 李红刚 <p-honggang.li@pcitc.com> Date: 星期四, 25 三月 2021 15:08:00 +0800 Subject: [PATCH] 1.修改缺少popup-gas airQuily.json文件导致报错问题 --- src/components/plugin/MeaSure.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/components/plugin/MeaSure.js b/src/components/plugin/MeaSure.js index b1e4508..ce67a00 100644 --- a/src/components/plugin/MeaSure.js +++ b/src/components/plugin/MeaSure.js @@ -150,10 +150,12 @@ } const startMeasureArea = function (map, L) { + areaMeasure.destory() areaMeasure.init(map, L) } const startMeasureLen = function (map, L) { + distanceMeasure.destory() distanceMeasure.init(map, L) } -- Gitblit v1.8.0