From 25ce610f6ecca7325e7a743dc032c4a76559c63d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 02 Jul 2021 09:10:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
---
widgets/digTheEarth/Widget.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/widgets/digTheEarth/Widget.js b/widgets/digTheEarth/Widget.js
index 9c56eda..4cafa8e 100644
--- a/widgets/digTheEarth/Widget.js
+++ b/widgets/digTheEarth/Widget.js
@@ -154,8 +154,12 @@
if (that.handlerPolygon.polyline) {
that.handlerPolygon.polyline.show = false;
}
- that.handlerPolygon.deactivate();
- that.tooltip.setVisible(false);
+ if (that.handlerPolygon.deactivate) {
+ that.handlerPolygon.deactivate();
+ }
+ if(that.tooltip.setVisible){
+ that.tooltip.setVisible(false);
+ }
},
onOpen: function () {
--
Gitblit v1.9.3