From 9f1f8674c82dd35800cbd7c64142fa25a92f5f28 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 28 Jun 2021 14:53:06 +0800
Subject: [PATCH] BOX裁剪功能添加
---
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 0288d8d..4cafa8e 100644
--- a/widgets/digTheEarth/Widget.js
+++ b/widgets/digTheEarth/Widget.js
@@ -157,7 +157,9 @@
if (that.handlerPolygon.deactivate) {
that.handlerPolygon.deactivate();
}
- that.tooltip.setVisible(false);
+ if(that.tooltip.setVisible){
+ that.tooltip.setVisible(false);
+ }
},
onOpen: function () {
--
Gitblit v1.9.3