From 1348c11eceeecc172e2a069b67e197de90aa5827 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期四, 11 三月 2021 10:00:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/components/panel/ToolBoxPanel.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/panel/ToolBoxPanel.vue b/src/components/panel/ToolBoxPanel.vue index 1e9cba4..7e6489e 100644 --- a/src/components/panel/ToolBoxPanel.vue +++ b/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() -- Gitblit v1.8.0