shuishen
2021-06-15 e0e380abc6a7d3b651e5a4da29cc647f90c23304
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');
               // 关闭分屏