From c56e506fd34c58209240e97fc29043639fae5d19 Mon Sep 17 00:00:00 2001 From: ChenZeping <chenzeping> Date: 星期四, 29 四月 2021 15:13:21 +0800 Subject: [PATCH] 统计表,指标,预报警表格弹框公共修改,管线分析功能 --- src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js b/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js index d74b3a5..386bdb3 100644 --- a/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js +++ b/src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js @@ -31,18 +31,15 @@ mousemove = (e) => { this.points.push(e.latlng) if (this.polyline) { this.map.removeLayer(this.polyline) } - this.polyline = L.polyline(this.points, { showMeasurements: true, color: 'red' }) + this.polyline = L.polyline(this.points, { showMeasurements: false, color: 'red' }) this.polyline.addTo(this.layers) this.layers.addTo(this.map) this.points.pop() } dbClick = (e) => { - // console.log('鍙屽嚮缁撴潫', e) this.polyline.addTo(this.layers) - // this.close(e.latlng); this.map.off('click', this.click).off('mousemove', this.mousemove).off('dblclick', this.dbClick) - // console.log(this.points) eventBus.$emit('draw-hdm-line', this.points) } -- Gitblit v1.8.0