派生自 wuyushui/SewerAndRainNetwork
src/components/panel/topicSearch/SewersSearch.vue @@ -178,6 +178,9 @@ }, handleLocation (val) { console.log(val) const bound = this.L.geoJSON([val], {}).getBounds() console.log(bound) this.$store.state.map.map.flyToBounds(bound) } } }