From 0b0ba7a298364d60567d1c2fbe30c2f2a9000def Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 25 Jun 2021 17:23:16 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
---
widgets/digTheEarth/Widget.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/widgets/digTheEarth/Widget.js b/widgets/digTheEarth/Widget.js
index 9c56eda..0288d8d 100644
--- a/widgets/digTheEarth/Widget.js
+++ b/widgets/digTheEarth/Widget.js
@@ -154,7 +154,9 @@
if (that.handlerPolygon.polyline) {
that.handlerPolygon.polyline.show = false;
}
- that.handlerPolygon.deactivate();
+ if (that.handlerPolygon.deactivate) {
+ that.handlerPolygon.deactivate();
+ }
that.tooltip.setVisible(false);
},
onOpen: function () {
--
Gitblit v1.9.3