Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
| | |
| | | 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()) |
| | | } |
| | |
| | | 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) |
| | | } |
| | | } |
| | | }) |
| | | }) |