From 094dff34cea6a27ff251b23fc30ffafff6d3bcf2 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 17 Jun 2021 11:32:15 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
---
widgets/Tool/Widget.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/widgets/Tool/Widget.js b/widgets/Tool/Widget.js
index 6d79f73..7c22602 100644
--- a/widgets/Tool/Widget.js
+++ b/widgets/Tool/Widget.js
@@ -28,6 +28,7 @@
name: 'Tool',
layers: {},
startup: function () {
+ var that = this;
// 暴露在外的接口
topic.subscribe("closeTool", lang.hitch(this, this.closeToolBox));
this.inherited(arguments);
@@ -39,7 +40,7 @@
// 图上量算
$('.measure-tool').click(function () {
-
+ that.map.scene.globe.depthTestAgainstTerrain = false;
// 关闭卷帘
topic.publish('closeRolling', 'Rolling');
// 关闭分屏
--
Gitblit v1.9.3