diff --git a/src/views/sponeScreen/cityGK/PhysicalGeography.vue b/src/views/sponeScreen/cityGK/PhysicalGeography.vue index 6d28612..dd91261 100644 --- a/src/views/sponeScreen/cityGK/PhysicalGeography.vue +++ b/src/views/sponeScreen/cityGK/PhysicalGeography.vue @@ -168,7 +168,7 @@ bus.emit('setIniteLayer', [ { layername: 'buildingModel', - show: false, + show: true, }, { layername: 'topography', @@ -186,8 +186,17 @@ newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter1, 'oneCenter'); newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter2, 'oneCenter'); newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter, 'oneCenter'); + newfiberMap.setCenter({ + lng: 114.312, + lat: 34.262, + heading: 2.281299097855777, + zoom: 42358.12942752382, + pitch: -35.2508969308367, + roll: 0.005453465256790101, + }); }; const setLayerVisible = () => { + newfiberMap.removeByIds(['oneCenter']); if (!newfiberMap.xdmWms) { newfiberMap.xdmWms = newfiberMap.loadWmsLayer({ url: '/geoserver/demo/wms', diff --git a/src/views/sponeScreen/cityGK/PhysicalGeography.vue b/src/views/sponeScreen/cityGK/PhysicalGeography.vue index 6d28612..dd91261 100644 --- a/src/views/sponeScreen/cityGK/PhysicalGeography.vue +++ b/src/views/sponeScreen/cityGK/PhysicalGeography.vue @@ -168,7 +168,7 @@ bus.emit('setIniteLayer', [ { layername: 'buildingModel', - show: false, + show: true, }, { layername: 'topography', @@ -186,8 +186,17 @@ newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter1, 'oneCenter'); newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter2, 'oneCenter'); newfiberVectorLayer.addGeojsonPolygon(newfiberMap, oneCenter, 'oneCenter'); + newfiberMap.setCenter({ + lng: 114.312, + lat: 34.262, + heading: 2.281299097855777, + zoom: 42358.12942752382, + pitch: -35.2508969308367, + roll: 0.005453465256790101, + }); }; const setLayerVisible = () => { + newfiberMap.removeByIds(['oneCenter']); if (!newfiberMap.xdmWms) { newfiberMap.xdmWms = newfiberMap.loadWmsLayer({ url: '/geoserver/demo/wms', diff --git a/src/views/sponeScreen/gisMF/legendKF.vue b/src/views/sponeScreen/gisMF/legendKF.vue index 1502c0d..0f37e4b 100644 --- a/src/views/sponeScreen/gisMF/legendKF.vue +++ b/src/views/sponeScreen/gisMF/legendKF.vue @@ -23,7 +23,7 @@ -
{{ item3.name }}
+