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

It should be possible to toggle graduated theme categories on the label. #1820

Open
wants to merge 3 commits into
base: patch
Choose a base branch
from

Conversation

dbauszus-glx
Copy link
Member

Graduated theme category labels should behave the same as categorized theme labels. Clicking on the label will toggle the display of the category in the mapview.

Screencast.from.2025-01-17.16-51-36.webm

@dbauszus-glx dbauszus-glx added the Feature New feature requests or changes to the behaviour or look of existing application features. label Jan 17, 2025
@dbauszus-glx dbauszus-glx self-assigned this Jan 17, 2025
@dbauszus-glx dbauszus-glx linked an issue Jan 17, 2025 that may be closed by this pull request
@AlexanderGeere
Copy link
Contributor

@dbauszus-glx should we not then also include this control?
Screenshot 2025-01-20 093330

The switch all 'button'.

@dbauszus-glx
Copy link
Member Author

@AlexanderGeere I added the switchAll control from the categorized legend.

@dbauszus-glx
Copy link
Member Author

A themeLegendSwitch method has been created since this element is used now for graduated and categorized theme legends.

Copy link
Contributor

@AlexanderGeere AlexanderGeere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! can even toggle them on and off in custom views

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature requests or changes to the behaviour or look of existing application features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toggle categories in graduated theme legend
2 participants