From e2bf4ab5fbcc29209d74101d99c0690d4ffbe234 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期五, 21 五月 2021 17:14:56 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js b/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js
index 933302b..8b8857a 100644
--- a/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js
+++ b/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/PublicWay.js
@@ -1,5 +1,17 @@
+export function selectPipeLine () {
+  window.map.on('click', this.selectClick)
+  window.mapManager.clickDialogSwitch = true
+}
+
 export function createFlowLine (param) {
   const flowLine = window.L.polyline(param.points, param.option)
   flowLine.addTo(window.map)
   return flowLine
 }
+
+export function linkClear (linkClear) {
+  if (this.linkClear != null) {
+    this.linkClear.remove()
+    this.linkClear = null
+  }
+}

--
Gitblit v1.8.0