Skip to content

Fix geoman controls option update + snapping option #1247

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

mangecoeur
Copy link
Contributor

  • Currently, if options are changed on the GeomanDrawControl after creation, the toolbar doesn't update. This PR adds event listeners to the model attributes to remove & re-add the draw toolbar on options change so they are reflected in the UI.
  • This PR also adds the snapping option to Layers, to control which layers are used by the snapping function of Geoman.
  • The version of Geoman is bumped to the latest version.

@mangecoeur mangecoeur mentioned this pull request Apr 30, 2025
mangecoeur added 2 commits May 5, 2025 09:18
…to .data attr for editing. Also made circlemarker style use the draw control configured style if the feature doesn't have its own style overrides.
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

Successfully merging this pull request may close these issues.

1 participant