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

Add Clear button for grid spatial filter #679

Merged

Conversation

geographika
Copy link
Collaborator

Adds a new button to the grid that allows the polygon used for a spatial selection to be removed (without needing to reactivate the tool).
Also adds a new context-menu item to the tool "Cancel Drawing" to cancel drawing the current feature (this should also be possible by pressing the Escape key - an OL default, but this doesn't seem to work).

@select-8 @fergaldoyle - this button would currently always be visible when this pull request is merged. Should it be optional?

Video of functionality below:

clear_spatial_filter.mp4

@geographika geographika merged commit 346d085 into compassinformatics:master Mar 5, 2024
2 checks passed
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.

None yet

1 participant