| | |
| | | window.material = null; |
| | | globe.material = null; |
| | | Viewer.scene.globe.enableLighting = false; |
| | | store.state.slopeQueyFlag = false; |
| | | store.state.showSlopeQuey = false; |
| | | return; |
| | | } |
| | | store.state.slopeQueyFlag = true; |
| | | window.material = new Cesium.Material({ |
| | | fabric: { |
| | | type: "ElevationRamp", |
| | |
| | | if (window.material) { |
| | | window.material = null; |
| | | globe.material = null; |
| | | store.state.slopeQueyFla = false |
| | | store.state.slopeQueyFlag = false; |
| | | store.state.showSlopeQuey = false; |
| | | return; |
| | | } |
| | | |
| | |
| | | window.material = null; |
| | | globe.material = null; |
| | | Viewer.scene.globe.enableLighting = false; |
| | | return; |
| | | store.state.slopeQueyFlag = false; |
| | | store.state.showSlopeQuey = false; |
| | | } |
| | | if (window.DoubleScreen) { |
| | | window.DoubleScreen && window.DoubleScreen.destroy(); |
| | |
| | | offset: { |
| | | heading: Cesium.Math.toRadians(0.0), |
| | | pitch: Cesium.Math.toRadians(-90), |
| | | range: 0 |
| | | range: 40 |
| | | } |
| | | } |
| | | ); |
| | |
| | | |
| | | }, |
| | | }) |
| | | window.Viewer.flyTo(locationPolygonEntity, { |
| | | window.Viewer.flyTo(polyline, { |
| | | offset: { |
| | | heading: Cesium.Math.toRadians(0.0), |
| | | pitch: Cesium.Math.toRadians(-90), |