水文水环境分析-洪水淹没:固定数据点、点击绘制按钮和清除按钮,清空数据
| | |
| | | that.deleteEntitys(that, pointId, shape, boildOne, boildTwo, boildThree, waterEntity); |
| | | //隐藏详情框 |
| | | that.showDetail(false) |
| | | that.clearData() |
| | | $('#dong_time').val(0.5); |
| | | $('.dong-progress .container #progress_bar').width(0); |
| | | $('.dong-progress').stop().hide(); |
| | |
| | | }); |
| | | return; |
| | | } |
| | | ; |
| | | // 提取坐标信息 |
| | | var list = waterEntity.polygon.hierarchy.getValue().positions; |
| | | // 存放坐标信息,做请求数据使用 |
| | |
| | | |
| | | $('#dong_delet').click(function () { |
| | | that.showDetail(false) |
| | | that.clearData() |
| | | that.deleteEntitys(that, pointId, shape, boildOne, boildTwo, boildThree, waterEntity); |
| | | |
| | | handler.destroy(); |
| | |
| | | color: Cesium.Color.RED, |
| | | pixelSize: 16, |
| | | //防止地形遮挡住点 |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY, |
| | | heightReference: Cesium.HeightReference.CLAMP_TO_GROUND |
| | | }, |
| | | }); |
| | | } |
| | |
| | | var pt = turf.point([point.LGTD, point.LTTD]) |
| | | return turf.booleanPointInPolygon(pt, poly) |
| | | }, |
| | | |
| | | //清除框内数据 |
| | | clearData:function (){ |
| | | $('#dong_max_height').val(0); |
| | | $('#dong_min_height').val(0); |
| | | }, |
| | | }); |
| | | }); |