From 7f41431c0eb8ebbc127ddaf551a0a7c7675c4fab Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 25 Jun 2021 17:19:30 +0800
Subject: [PATCH] 平面裁剪
---
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