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 |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/src/components/plugin/Editable.js b/src/components/plugin/Editable.js
index 15b4c3a..79fc3ad 100644
--- a/src/components/plugin/Editable.js
+++ b/src/components/plugin/Editable.js
@@ -317,12 +317,6 @@
         return polygon
       },
 
-      // circleMarker :function (latlng,options) {
-      //   const yuan = this.circleMarker(latlng,options)
-      //   yuan.enableEdit(this.map).newShape(latlng)
-      //   return yuan
-      // }
-
       // 馃崅method startMarker(latlng: L.LatLng, options: hash): L.Marker
       // Start adding a Marker. If `latlng` is given, the Marker will be shown first at this point.
       // In any case, it will follow the user mouse, and will have a final `latlng` on next click (or touch).
@@ -353,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