派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-21 4321a8bc0ccc14866b65871fee390839499d9204
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()