Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing polyline does not affect editing #711

Closed
Larry0ua opened this issue May 29, 2012 · 2 comments
Closed

changing polyline does not affect editing #711

Larry0ua opened this issue May 29, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@Larry0ua
Copy link

var line = new L.Polyline();
line.editing.enable();
line.setLatLngs(...) or line.addLatLng()

last methods should update editing state and redraw draggable points.

Current workaround: remove and re-add line into map layer.

@ghost ghost assigned mourner Jul 27, 2012
@peromax
Copy link

peromax commented Aug 24, 2012

Thaks for your feedback. I am lost just about 1 hour for this problem

@jacobtoye
Copy link
Member

Moved to Leaflet/Leaflet.draw#75 as Leaflet.draw is now the home for the vector editing handlers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants