Describe the bug
When a bookmark is saved with only a specific sublayer of a group layer active, loading that bookmark activates all sublayers within that group layer in the LayerSwitcher, rather than only the originally selected sublayer.
Steps to reproduce
Steps to reproduce the behavior:
- Activate a sublayer in the
LayerSwitcher.
- Save the current map state as a bookmark.
- Reload the application.
- Load the previously saved bookmark.
- Observe that the entire group layer, including all its sublayers, is activated in the
LayerSwitcher, not just the sublayer that was active when the bookmark was saved.
Expected behavior
When a bookmark containing an active sublayer of a group layer is loaded, only that specific sublayer should be activated.