派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-04-20 4f210560973162685449e99ece819a1aad190db1
src/components/panel/topicSearch/SewersSelect/AnalysisChoose/DrawLine.js
@@ -1,6 +1,5 @@
import L from 'leaflet'
// import eventBus from "@/components/leaflet/app/eventBus"
import eventBus from '@components/panel/topicSearch/SewersSelect/AnalysisChoose/eventBus'
import eventBus from '@/eventBus'
class DrawLine {
  constructor (map) {
@@ -49,7 +48,6 @@
    destory () {
      if (this.polyline) { this.map.removeLayer(this.polyline) }
      if (this.marker) { this.marker.remove() }
      this.points = []
      this.layers.clearLayers()