From a0dce9c7d37e4b34d2e458e00517055c94b03484 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 15 三月 2021 17:02:25 +0800
Subject: [PATCH] 修改左上角功能实现部分

---
 src/components/plugin/Editable.js |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/components/plugin/Editable.js b/src/components/plugin/Editable.js
index bd287f5..15b4c3a 100644
--- a/src/components/plugin/Editable.js
+++ b/src/components/plugin/Editable.js
@@ -301,20 +301,11 @@
       // 馃崅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)
         return line
-      },
-      // 绠ご鏍囩粯
-      startPolylineArrow: function (latlng, options) {
-        const lineArrow = this.createPolyline([], {
-          color: 'black',
-          weight: 3,
-          opacity: 1.0
-        })
-        lineArrow.enableEdit(this.map).newShape(latlng)
-        return lineArrow
       },
 
       // 馃崅method startPolygon(latlng: L.LatLng, options: hash): L.Polygon
@@ -326,6 +317,12 @@
         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).

--
Gitblit v1.8.0