| | |
| | | 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.movingCircleViewshed = null; |
| | | } |
| | | }, |
| | | |
| | | // 阴影分析 |
| | | AnalysisSunshine() { |
| | | if (!layerIsOpen) { |
| | | layerIsOpen = true; |
| | | let currentTime = viewer.clock.currentTime.clone(); |
| | | let startTime = viewer.clock.startTime.clone(); |
| | | let stopTime = viewer.clock.stopTime.clone(); |
| | |
| | | type: 2, |
| | | title: "阴影分析", |
| | | shade: false, |
| | | area: ["350px", "500px"], |
| | | offset: "l", |
| | | skin: "yyfxForm", |
| | | content: SmartEarthRootUrl + "Workers/analysis/AnalysisSunshine.html", |
| | | area: ["350px", "350px"], |
| | | offset: "r", |
| | | skin: "other-class", |
| | | content: SmartEarthRootUrl + "Workers/analysis/AnalysisShadow.html", |
| | | end: () => { |
| | | window._AnalysisSunshine && window._AnalysisSunshine.remove(); |
| | | window._AnalysisSunshine = undefined; |
| | | layerIsOpen = false; |
| | | }, |
| | | Viewer.clock.currentTime = currentTime; |
| | | Viewer.clock.startTime = startTime; |
| | | Viewer.clock.stopTime = stopTime; |
| | | Viewer.clock.multiplier = multiplier; |
| | | Viewer.shadows = false; |
| | | Viewer.shadowLayer = false; |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | transformCartesianToCoord(position) { |
| | | const cartographic = SmartEarth.Cesium.Cartographic.fromCartesian(position); |
| | |
| | | }; |
| | | this.analysisFlood = earthCtrl.analysis.createSubmergence( |
| | | method, |
| | | (value) => { } |
| | | (value) => {} |
| | | ); |
| | | }, |
| | | clearFlood() { |
| | |
| | | this.contourLabel.showContourLabel(false); |
| | | } |
| | | }, |
| | | enableAtmosphere() { |
| | | earthCtrl.atmosphere.enable(); |
| | | }, |
| | | disableAtmosphere() { |
| | | earthCtrl.atmosphere.disable(); |
| | | }, |
| | | }; |
| | | |
| | | export default mapUtils; |