From c94159caa730e2809d790ab5fd7b77cd47c725dc Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期二, 16 三月 2021 10:27:55 +0800
Subject: [PATCH] 修改功能栏功能

---
 src/components/plugin/Editable.js |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/src/components/plugin/Editable.js b/src/components/plugin/Editable.js
index d39de14..79fc3ad 100644
--- a/src/components/plugin/Editable.js
+++ b/src/components/plugin/Editable.js
@@ -301,6 +301,7 @@
       // 馃崅method startPolyline(latlng: L.LatLng, options: hash): L.Polyline
       // Start drawing a Polyline. If `latlng` is given, a first point will be added. In any case, continuing on user click.
       // If `options` is given, it will be passed to the Polyline class constructor.
+      // 鐢荤嚎
       startPolyline: function (latlng, options) {
         const line = this.createPolyline([], options)
         line.enableEdit(this.map).newShape(latlng)
@@ -346,14 +347,6 @@
         const circle = this.createCircle(latlng, options)
         circle.enableEdit(this.map).startDrawing()
         return circle
-      },
-
-      // 鍥炬爣鏍囨敞
-      startIcon: function (latlng, options) {
-        latlng = latlng || this.map.getCenter().clone()
-        const icon = this.createMarker(latlng, options)
-        icon.enableEdit(this.map).startDrawing()
-        return icon
       },
 
       startHole: function (editor, latlng) {

--
Gitblit v1.8.0