Polyline editing fails when an edit point is clicked twice #132

jaybo opened this Issue Apr 25, 2013 · 2 comments


None yet

2 participants

jaybo commented Apr 25, 2013

Not sure if this is related to #76 or #125, but using either Chrome or IE on http://leaflet.github.io/Leaflet.draw/ with the following sequence:

  1. Create a polyline with 3 points.
  2. Select the edit tool.
  3. Click the center point once.

The center point is deleted, which is unexpected behavior. Then,

  1. Click the new center point once.
  2. Click the center point again and drag it.

At the last step handles appear which are disconnected from the line, and editing enters the twilight zone.


Nice find. Will need to look into this. For step 2. when in edit mode all I needed to do was click the new point (not drag).

@jacobtoye jacobtoye closed this in 701a653 Apr 26, 2013

What an annoying issue to track down :| I've also double checked all .off calls in the plugin to ensure that the context is always specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment