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'); // 关闭分屏