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

[BUG] Issue with Initial Settings for Invisible/collapse Layers in geoCore #2608

Open
1 task done
mcoursol opened this issue Nov 20, 2024 · 0 comments
Open
1 task done

Comments

@mcoursol
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using geoCore for managing layers, an issue occurs when a layer needs to be set as invisible or collapsed in a dropdown menu. The initialSettings parameter with states: {"visible": false} does not seem to be properly respected by geoCore.

This behavior prevents the dropdown menus for invisible layers from being correctly closed. It seems that geoCore does not support initializing layers with a visibility state, which affects proper layer management in the interface.

This issue was encountered while using geoCore to create the configuration file for static pages. The goal was to define layers with specific visibility states in the config, but the initialSettings for invisible layers are not being applied as expected.

Expected Behavior

When visible: false is set, the layer should not be displayed, and the dropdown menu for that layer should be collapsed.

Steps To Reproduce

No response

Anything else?

No response

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

No branches or pull requests

1 participant