| | |
| | | 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 { |
| | |
| | | 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() |