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

Visibility state of the eye on group level #1359

Open
MarkusKonk opened this issue Dec 8, 2022 · 2 comments
Open

Visibility state of the eye on group level #1359

MarkusKonk opened this issue Dec 8, 2022 · 2 comments

Comments

@MarkusKonk
Copy link

If a group has more than one layer, the state of the eye (opened/closed) changes to closed as soon as one of the layers is changed to invisible, although there are still visible layers in that group. The eye of the group should change to invisible only if all layers included in that group are invisible. We discussed this issue with @gannebamm.

grafik

I found out that the issue is probably in the DefaultGroup.jsx. For our local implementation, we have a fix in the MapStore core that you can check here. It seems to work in combination with our exclusive layer implementation.
However, this fix causes some errors, but I am not sure if these are crucial since the application still works...
grafik

@gannebamm
Copy link

The issue 'groupUpdated is undefined' is caused by the default group not having an ID, right?

I would like to hear about other active users' experiences with the UI. What about @t-book @frafra @afabiani - what is the feedback of your users? Do they think the behaviour mentioned above is counterintuitive?

@MarkusKonk
Copy link
Author

I get the same error for other groups.

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

No branches or pull requests

2 participants