diff --git a/src/views/home.vue b/src/views/home.vue index dd4389b..2a98c52 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -373,7 +373,7 @@ export default { this.viewer.scene.postProcessStages.fxaa.enabled = true // 不显示底图 - // this.viewer.imageryLayers.get(0).show = false + this.viewer.imageryLayers.get(0).show = false // 叠加叠加影像服务 const earthMap = new Cesium.WebMapTileServiceImageryProvider( @@ -381,9 +381,11 @@ export default { url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:world/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg', layer: 'ougp:world', style: 'default', - tileMatrixSetID: 'EPSG:900913', format: 'image/jpeg', - tilingScheme: new Cesium.GeographicTilingScheme() + // tileMatrixSetID: 'EPSG:4326', + // tilingScheme: new Cesium.GeographicTilingScheme() + tileMatrixSetID: 'EPSG:900913', + tilingScheme: new Cesium.WebMercatorTilingScheme() } ) this.viewer.imageryLayers.addImageryProvider(earthMap) @@ -393,9 +395,11 @@ export default { url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:GSHHS_f_L1/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png', layer: 'ne:GSHHS_f_L1', style: 'default', - tileMatrixSetID: 'EPSG:900913', format: 'image/png', + tileMatrixSetID: 'EPSG:4326', tilingScheme: new Cesium.GeographicTilingScheme() + // tileMatrixSetID: 'EPSG:900913', + // tilingScheme: new Cesium.WebMercatorTilingScheme() } ) this.viewer.imageryLayers.addImageryProvider(coastline) @@ -405,9 +409,11 @@ export default { url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:正射影像图_GM输出_20240516/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png', layer: 'ougp:正射影像图_GM输出_20240516', style: 'default', - tileMatrixSetID: 'EPSG:900913', format: 'image/png', + tileMatrixSetID: 'EPSG:4326', tilingScheme: new Cesium.GeographicTilingScheme() + // tileMatrixSetID: 'EPSG:900913', + // tilingScheme: new Cesium.WebMercatorTilingScheme() } ) this.viewer.imageryLayers.addImageryProvider(shipline)