Leaflet / Leaflet.draw

Vector drawing and editing plugin for Leaflet
https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
MIT License
1.97k stars 992 forks source link

Editing Polyline problem, Leaflet 1.0 #512

Open rafabispo93 opened 8 years ago

rafabispo93 commented 8 years ago

Hello, I've updated my Leaflet to the 1.0 version and I've changed my Leaflet.Draw as well to the leaflet-master branch. However, when I try to edit the polyline in the center point I'm getting the following error " TypeError: this._poly.spliceLatLngs is not a function". The edition of ending points is working fine.

Thanks a lot!

gholol commented 8 years ago

Same problem when I tried to delete the last point. Hello @ddproxy ?

ddproxy commented 8 years ago

Sorry guys, we don't officially support Leaflet 1.0 just yet! We are working on supporting it soon.

chugcup commented 8 years ago

See https://github.com/Leaflet/Leaflet.draw/pull/596

prasadKodeInCloud commented 7 years ago

+1

Riccardo-Fabiani commented 7 years ago

I suppose the lack of inclusion of some files is the problem. To properly use the polygons is important to keep in mind that the Rectangle extend Polygon that extend Polyline.