| | |
| | | 1737400.0, |
| | | 1737400.0 |
| | | ); |
| | | |
| | | //贴地线 |
| | | |
| | | SmartEarth.Cesium.ExternalParameter.changeApproximateTerrainHeights = true |
| | | //页面初始化 |
| | | this.earthCtrl = new SmartEarth.EarthCtrl("cesiumContainer", { |
| | | StaticFileBaseUrl: config.StaticFileBaseUrl, |
| | | ellipsoidCoordinates: "MOON", |
| | | timeline: true |
| | | }); |
| | | // this.earthCtrl.environment.disableAllEffect(); |
| | | |
| | | this.Viewer = this.earthCtrl._Viewer; |
| | | |
| | | // this.Viewer.scene.skyAtmosphere.show = false; |
| | | |
| | | this.Viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | |
| | | window.earthCtrl = this.earthCtrl; |
| | | |
| | | window.Viewer = this.earthCtrl._Viewer; |
| | | |
| | | Viewer.scene.skyAtmosphere.show = false; |
| | | |
| | | window.Cesium = SmartEarth.Cesium; |
| | | |
| | |
| | | sgworld.Creator.SimpleGraphic.edit(true, { editProp: true }); |
| | | //======================= |
| | | window.Viewer.imageryLayers.removeAll(); |
| | | Viewer.animation.container.style.visibility = "hidden"; |
| | | Viewer.timeline.container.style.visibility = "hidden"; |
| | | //======================= |
| | | // Viewer.scene.globe.showGroundAtmosphere = false; |
| | | //大气层 |
| | | Viewer.scene.globe.showGroundAtmosphere = false; |
| | | |
| | | // server.AddTmsLayer(config.moonTms); |
| | | server.AddWmtesLayer(config.moonWmts); |