-
Notifications
You must be signed in to change notification settings - Fork 360
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
mangecoeur
wants to merge
14
commits into
jupyter-widgets:master
Choose a base branch
from
mangecoeur:fix_geoman_controls_option_update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix geoman controls option update + snapping option #1247
mangecoeur
wants to merge
14
commits into
jupyter-widgets:master
from
mangecoeur:fix_geoman_controls_option_update
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
mangecoeur
commented
Apr 23, 2025
- 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.
…ptions to GeoJson constructor to fetch all synced values.
…safely removed without triggering an exception.
…re-adding it in case of options changing.
… for geoman controls with implementation of Control IFace within the Geoman View via addTo
…use the same options setting method as when options dynamically change.
Open
…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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.