| | |
| | | //页面初始化 |
| | | this.earthCtrl = new SmartEarth.EarthCtrl("cesiumContainer", { |
| | | StaticFileBaseUrl: config.StaticFileBaseUrl, |
| | | ellipsoidCoordinates: 'MOON' |
| | | ellipsoidCoordinates: "MOON", |
| | | }); |
| | | // this.earthCtrl.environment.disableAllEffect(); |
| | | |
| | |
| | | |
| | | // this.Viewer.scene.skyAtmosphere.show = false; |
| | | |
| | | // this.Viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | this.Viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | |
| | | window.earthCtrl = this.earthCtrl; |
| | | |
| | |
| | | window.sgworld = earthCtrl; |
| | | |
| | | sgworld.Creator.SimpleGraphic.edit(true, { editProp: true }); |
| | | |
| | | //======================= |
| | | window.Viewer.imageryLayers.removeAll(); |
| | | |
| | | //======================= |
| | | // Viewer.scene.globe.showGroundAtmosphere = false; |
| | | |
| | | |
| | | |
| | | // server.AddTmsLayer(config.moonTms); |
| | | server.AddWmtesLayer(config.moonWmts); |
| | |
| | | }), |
| | | }); |
| | | window.Viewer.terrainProvider = terrain; |
| | | window.Viewer.scene.globe.terrainExaggeration = 1.0000001 |
| | | |
| | | |
| | | // server.AddTmsLayer("http://172.16.2.10:50001/sj_raster/v6/service/10003901/1"); |
| | | |
| | | |
| | | // server.AddGeoWmsLayer(); |
| | | // var param = { |