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

Globally exclusive layers #625

Open
silvester-pari opened this issue Feb 7, 2024 · 0 comments · May be fixed by #1249
Open

Globally exclusive layers #625

silvester-pari opened this issue Feb 7, 2024 · 0 comments · May be fixed by #1249
Assignees
Labels
enhancement New feature or request layercontrol

Comments

@silvester-pari
Copy link
Collaborator

silvester-pari commented Feb 7, 2024

Currently, exclusive layers only check layers on the same "level" (i.e. in the same group) for exclusivity. There might be usecases where we want an exclusive selection for all exclusive layers in the entire map, e.g. multiple groups of background layers, and only one of those layers can be shown at a time.

The tricky part here will be to deal with the layer group checkboxes, as when no layer is selected inside a group anymore (because an exclusive layer from another group was set to visible), then the group checkbox doesn't make sense.

Maybe we need a way to either automatically set the checkbox to false if all group layers are hidden, or some way to not show the checkbox at all.

@silvester-pari silvester-pari added enhancement New feature or request layercontrol labels Feb 7, 2024
@spectrachrome spectrachrome self-assigned this Aug 19, 2024
@silvester-pari silvester-pari linked a pull request Sep 25, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request layercontrol
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants