派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-16 c94159caa730e2809d790ab5fd7b77cd47c725dc
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) {