派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-24 309528a5c1ac91b5f3a8faa28b6c57b3531d45c2
src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js
@@ -1,17 +1,3 @@
export function selectPipeLine () {
  window.map.on('click', this.selectClick)
  window.mapManager.clickDialogSwitch = true
}
// 地图上点击回调
export function selectClick (e) {
  window.map.off('click', this.selectClick)
  const point = [e.latlng.lng, e.latlng.lat]
  this.getPipeLine(point)
  // this.getPipeLine(point, this.linkType)
  // window.mapManager.clickDialogSwitch = true
}
export function createFlowLine (param) {
  const flowLine = window.L.polyline(param.points, param.option)
  flowLine.addTo(window.map)