From 9f60aa23fc863c14b7aa8d8f00cd8c4b5542bb74 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 15 Jun 2021 16:12:40 +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