派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-03-12 231ed8b3de4866ceb5bbb9833c0a7afaee9583d6
src/components/plugin/Editable.js
@@ -306,16 +306,6 @@
        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
      // Start drawing a Polygon. If `latlng` is given, a first point will be added. In any case, continuing on user click.