diff --git a/src/pages/views/WatershedOneMap/modalPart/legend.vue b/src/pages/views/WatershedOneMap/modalPart/legend.vue index b54c37e..a451447 100644 --- a/src/pages/views/WatershedOneMap/modalPart/legend.vue +++ b/src/pages/views/WatershedOneMap/modalPart/legend.vue @@ -2020,7 +2020,40 @@ getAllSelectPoi(); newfiberMap.mapClickEvent((position, point, feature) => { let properties = feature.properties.getValue(); - console.log('feature--', feature); + console.log('properties---', properties); + if (properties.name == '后湖泵站(二期)') { + newfiberMap.flyTo({ + lon: 114.301296, + lat: 30.671028, + zoom: 70.12942752382, + heading: 2.281299097855777, + pitch: -25.2508969308367, + roll: 0.005453465256790101, + duration: 1, + }); + setTimeout(() => { + newfiberMap.flyTo({ + lon: 114.30040296, + lat: 30.6724028, + zoom: 10.12942752382, + heading: 70.281299097855777, + pitch: 0.2508969308367, + roll: 0.005453465256790101, + duration: 1, + }); + }, 1010); + setTimeout(() => { + newfiberMap.flyTo({ + lon: 114.30080296, + lat: 30.6725328, + zoom: 4.12942752382, + heading: 70.281299097855777, + pitch: 0.2508969308367, + roll: 0.005453465256790101, + duration: 1, + }); + }, 2020); + } if ( feature.newFiberId.includes('layer') || feature.newFiberId == 'yuliangJC' ||