| | |
| | | layer = new Cesium.WebMapTileServiceImageryProvider(layerConfig); |
| | | } else if (layerConfig.type == "SuperMap") { |
| | | layer = new Cesium.SuperMapImageryProvider(layerConfig); |
| | | } else if (layerConfig.type == "arcgis") { |
| | | layer = new Cesium.ArcGisMapServerImageryProvider(layerConfig); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | layerArr.push(layer); |
| | | } |
| | |
| | | ellipsoid: Cesium.Ellipsoid.WGS84 |
| | | }) |
| | | } |
| | | }) |
| | | , new Cesium.ProviderViewModel({ |
| | | }), new Cesium.ProviderViewModel({ |
| | | name: "鄱阳湖地形", |
| | | tooltip: "由 普适科技 提供的鄱阳湖地区地形", |
| | | iconUrl: "images/basemaps/TerrainSTK.png", |
| | |
| | | var roll = mapOptions.positionInfo.roll; |
| | | |
| | | setTimeout(lang.hitch(this, function () { |
| | | this.map.camera.setView({destination: Cesium.Rectangle.fromDegrees(west, south, east, north)}); |
| | | this.map.camera.setView({ |
| | | destination: Cesium.Rectangle.fromDegrees(west, south, east, north) |
| | | }); |
| | | }), 100); |
| | | |
| | | |