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

[TOC] Support multiple (arbitrary) grouped / nested layers #222

Open
bierett opened this issue Dec 5, 2023 · 2 comments
Open

[TOC] Support multiple (arbitrary) grouped / nested layers #222

bierett opened this issue Dec 5, 2023 · 2 comments
Labels
contribution Third party contribution in progress

Comments

@bierett
Copy link
Member

bierett commented Dec 5, 2023

As a user I want to support multiple (arbitrary) grouped / nested layers.

Acceptance criteria:

  • after clicking on a button, the layers visibility in the map are change to not visible (current behavoir in toc-package)
  • the state of the controls are synchronized with the actual visibility state of the each layer in the map (current behavoir in toc-package)
  • the controls visually represents the current state of the layers visibility (current behavoir in toc-package)
  • the toc is generated with multiple grouped / nested layers
  • every group can contain a custom title
  • show / hide all layers in a group
@bierett bierett mentioned this issue Dec 5, 2023
6 tasks
@bierett bierett added the contribution Third party contribution in progress label Dec 8, 2023
@mbeckem
Copy link
Contributor

mbeckem commented Nov 18, 2024

  • GroupLayer support has been implemented in PR Implement support for GroupLayers (#222) #371, this allows arbitrary nesting (with custom titles and other layer attributes)
  • "Hide All/Show All` does not exist yet (on the group layer level). There is only a top level "Hide All Layers" action.
  • Should "Hide / Show all" collapse the children (i.e. hide them in the toc) or should it toggle the visibility on the map? Toggling the visibility on the parent group layer already hides / shows the children as well, so this requirement might already be fulfilled.

mbeckem added a commit that referenced this issue Nov 18, 2024
Co-authored-by: Michael Beckemeyer <m.beckemeyer@conterra.de>
@bierett
Copy link
Member Author

bierett commented Dec 2, 2024

"Hide all/Show all` on the group layer level isn't needed.
“Hide all” on top level layer is sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Third party contribution in progress
Projects
None yet
Development

No branches or pull requests

2 participants