派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-19 4bb1faf1665ab067c7dd50bdaf1f832cb0ca4f4f
Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
2个文件已修改
4 ■■■ 已修改文件
src/components/helpers/LocateHelper.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/helpers/MapManager.js 2 ●●●●● 补丁 | 查看 | 原始文档 | 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,8 +30,10 @@
      this.loadWfsDatas(e.latlng).then((res) => {
        if (res.features.length > 0) {
          highlight(res.features[0])
          if (this.clickDialogSwitch) {
          openPropsPopup(e.latlng, res.features)
        }
        }
      })
    })
  }