-
Notifications
You must be signed in to change notification settings - Fork 427
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
how to stop removing marker & circle marker when "edit" button is triggerd? #1013
Labels
Comments
You can use the option
I made a workaround for you:
It checks if the edit mode is enabled and then gets all Markers and CircleMarkers and removes from them the listener to remove the marker. |
Sweet. I will take workaround one as a solution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the edit mode is triggered to remove polygon's vertex, it also allows me to remove marker and circle marker by right click.
Is there any way to prevent it? (only allow to remove vertex but not the whole object like marker or circle marker)
The reason is if you remove marker or circle marker while edit mode is on from mobile device (press holding finger), you can't pan the map around (but you can still zoom in-out)
The text was updated successfully, but these errors were encountered: