派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-10 4b9b76e141865b150cd2fdba139f9a80b39dc7e9
src/components/panel/ToolBoxPanel.vue
@@ -28,11 +28,14 @@
import polygon from '@/assets/images/map-pages/icon/toolbox/polygon.png'
import square from '@/assets/images/map-pages/icon/toolbox/square.png'
// 测量的方法
import '@/components/plugin/leaflet-measure-path/leaflet-measure-path.css'
import Measure from '@/components/plugin/MeaSure'
// 标注的方法
import MakeTation from '@components/plugin/MakeTation'
// 封装的选择弹框
import TextBounced from '@components/panel/bounced/TextBounced'
export default {
@@ -170,8 +173,7 @@
          this.drawLayer.on('dblclick').on('dblclick', this.drawLayer.toggleEdit)
          break
        case '点标注':
          this.drawLayer = this.map.editTools.startMarker()
          this.drawLayer.on('dblclick').on('dblclick', this.drawLayer.toggleEdit)
          MakeTation.StartCircleAnnotation(this.map, this.L)
          break
        case '图标标注':
          this.drawLayer = this.map.editTools.startIcon()