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

Edit and delete with Leaflet.draw at same time #108

Open
alstarace opened this issue Feb 11, 2021 · 0 comments
Open

Edit and delete with Leaflet.draw at same time #108

alstarace opened this issue Feb 11, 2021 · 0 comments

Comments

@alstarace
Copy link

How do I disable Leaflet.draw delete button while I'm editing?
And viceversa, how to disable StyleEditor while I'm deleting with Leaflet.draw?

What I mean is that, if I click on the Leaflet.draw delete button, and I click on on the StyleEditor button (or viceversa), when I click on an object, it gets deleted but the StyleEditor sidebar also shows.

I know that users shouldn't do that, but I'd prefer to prevent them to even try.

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

1 participant