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

Trying to begin drawing new polygons over an existing polygon #9

Closed
carl-chambers opened this issue Jul 31, 2012 · 2 comments
Closed

Comments

@carl-chambers
Copy link

Thanks for the great plug-in!

I recently upgraded to the latest master and the behaviour of the polygon drawing seems to have changed a little. You can no longer place new markers for polygons over an existing polygon. This introduces a little usability quirk in my application. We only allow users to draw one polygon at a time, the old shapes are removed once any new ones are completed.

@carl-chambers
Copy link
Author

Okay, ignore this - found that setting clickable to false in shapeOptions sorts the problem.

Thanks!

@jacobtoye
Copy link
Member

Hi @chambwez thanks for the bug report. I think I'll change the polygon that is drawing to default to clickable: false. The issue also exists if you try to draw over an existing polygon.

Will fix it when I get sone time in the next week or so :)

danzel added a commit to danzel/Leaflet.draw that referenced this issue Aug 5, 2012
jacobtoye added a commit that referenced this issue Aug 5, 2012
Update leaflet (fixes #4) and fix #9
justinmanley added a commit to justinmanley/Leaflet.draw that referenced this issue Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants