| | |
| | | CreateLabel(pic, show) { |
| | | if (show) { |
| | | earthCtrl.factory.createSimpleGraphic(pic, {}, function (entity) { |
| | | console.log(entity.polyline.positions.getValue(), "entity"); |
| | | window.Viewer = earthCtrl.viewer; |
| | | //开启编辑并启用属性弹窗 |
| | | earthCtrl.factory.SimpleGraphic.edit(true, { |
| | |
| | | polyline: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | polygon: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | }, |
| | | (e) => {} |
| | | (e) => { } |
| | | ); |
| | | }, |
| | | qxcl() { |
| | |
| | | polyline: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | polygon: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | }, |
| | | (e) => {} |
| | | (e) => { } |
| | | ); |
| | | }, |
| | | fwjcl() { |
| | |
| | | polyline: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | polygon: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | }, |
| | | (e) => {} |
| | | (e) => { } |
| | | ); |
| | | }, |
| | | // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>场景截图<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
| | |
| | | }; |
| | | this.analysisFlood = earthCtrl.analysis.createSubmergence( |
| | | method, |
| | | (value) => {} |
| | | (value) => { } |
| | | ); |
| | | }, |
| | | clearFlood() { |