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 15 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
@martinRenou martinRenou force-pushed the fix_geoman_controls_option_update branch from 6e9251b to 361c8ec Compare June 3, 2025 12:18
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