diff --git a/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json new file mode 100644 index 0000000..ed179d5 --- /dev/null +++ b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.37412138591338,34.793734246431313]},"properties":{"FID":0,"Id":0,"name":"汴京路海绵设施"}}]} \ No newline at end of file diff --git a/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json new file mode 100644 index 0000000..ed179d5 --- /dev/null +++ b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.37412138591338,34.793734246431313]},"properties":{"FID":0,"Id":0,"name":"汴京路海绵设施"}}]} \ No newline at end of file diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index cc1d8cc..fe9d401 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -6,6 +6,7 @@ import cityArea from '@/assets/geojson/kaifeng/cityArea.json'; import riverLake from '@/assets/geojson/kaifeng/riverLake.json'; import pipeFlow from '@/assets/geojson/kaifeng/pipeFlow.json'; +import kaifengHaiMianSheShi from '@/assets/geojson/kaifeng/kaifengHaiMianSheShi.json'; import { oneMapFacilityPumpList } from '@/api/scada/pumpStationInformation'; import { haiMianfacilitySewagePage } from '@/api/scada/sewage'; import { waterloggingPointList, queryProjectStation, getStationList } from '@/api/sponeScreen/syntherticData.js'; @@ -437,7 +438,7 @@ url: 'spongeFacility_icon.png', //图层+json √ mapUrl: 'yiLao.png', type: 'point', - data: projectStation, + data: kaifengHaiMianSheShi, }, { isCheck: false, diff --git a/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json new file mode 100644 index 0000000..ed179d5 --- /dev/null +++ b/src/assets/geojson/kaifeng/kaifengHaiMianSheShi.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.37412138591338,34.793734246431313]},"properties":{"FID":0,"Id":0,"name":"汴京路海绵设施"}}]} \ No newline at end of file diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index cc1d8cc..fe9d401 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -6,6 +6,7 @@ import cityArea from '@/assets/geojson/kaifeng/cityArea.json'; import riverLake from '@/assets/geojson/kaifeng/riverLake.json'; import pipeFlow from '@/assets/geojson/kaifeng/pipeFlow.json'; +import kaifengHaiMianSheShi from '@/assets/geojson/kaifeng/kaifengHaiMianSheShi.json'; import { oneMapFacilityPumpList } from '@/api/scada/pumpStationInformation'; import { haiMianfacilitySewagePage } from '@/api/scada/sewage'; import { waterloggingPointList, queryProjectStation, getStationList } from '@/api/sponeScreen/syntherticData.js'; @@ -437,7 +438,7 @@ url: 'spongeFacility_icon.png', //图层+json √ mapUrl: 'yiLao.png', type: 'point', - data: projectStation, + data: kaifengHaiMianSheShi, }, { isCheck: false, diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0b6a3ba..a3a2b94 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -239,9 +239,19 @@ // 典型项目点击 function changeProject(val) { bus.emit('checkProjectFX', { project: XmList.value[val] }); + bus.emit('setIniteLayer', [ + { + layername: 'pipeMonitor', + show: false, + }, + { + layername: 'spongeFacility', + show: false, + }, + ]); newfiberMapbox.map.easeTo({ center: [114.381601, 34.793947], - zoom: 15.5, + zoom: 14, pitch: 30, }); // 渲染点位上图 @@ -269,6 +279,16 @@ }); onBeforeUnmount(() => { bus.off('changeRainDate'); + bus.emit('setIniteLayer', [ + { + layername: 'pipeMonitor', + show: true, + }, + { + layername: 'spongeFacility', + show: true, + }, + ]); });