赣州市洪水风险预警系统三维版本
guoshilong
2023-02-01 c2c9f6faf819d7e284227d61962ba623a22865ec
widgets/ThematicDynamicRiver/Widget.js
@@ -34,13 +34,11 @@
            this.inherited(arguments);
            var self = this;
            this.map.scene.globe.depthTestAgainstTerrain = true;
            //取消双击事件
            this.map.cesiumWidget.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
            $("#thematic_hzsm_headtab").click(function () {
               DrawDynamicClampGround.startDrawingPolyline(self.map, function (cartesians) {
                  if (self.drawingPolyline != undefined)
@@ -287,7 +285,7 @@
         },
         onClose: function () {
            //面板关闭的时候触发 (when this panel is closed trigger)
            this.map.entities.remove(this.drawingPolyline);
@@ -315,4 +313,4 @@
         }
      });
   });
   });