src/components/helpers/LocateHelper.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/helpers/MapManager.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/helpers/LocateHelper.js
@@ -47,7 +47,7 @@ if (type === 'Point') { var point = feature.geometry.coordinates point = [point[1], point[0]] window.map.setView(point, 17) window.map.setView(point, 19) } else { window.map.fitBounds(window.L.geoJSON(feature).getBounds()) } src/components/helpers/MapManager.js
@@ -30,7 +30,9 @@ this.loadWfsDatas(e.latlng).then((res) => { if (res.features.length > 0) { highlight(res.features[0]) openPropsPopup(e.latlng, res.features) if (this.clickDialogSwitch) { openPropsPopup(e.latlng, res.features) } } }) })