派生自 wuyushui/SewerAndRainNetwork

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