-
Notifications
You must be signed in to change notification settings - Fork 363
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
Change layer group visibility programmatically #1118
Comments
Hello,
|
I though about this workaround that removes and adds layer program programmatically. It is a bit slow when the layer group has many features. It might also change the layer order if some layers are added after the layer group. I would prefer a native solution that can set layer group visibility like other layers. |
@12rambau Yes. It looks good to me. Thank you |
The layer group can be toggled on/off manually using the LayersControl. Is it possible to change the layer group visibility programmatically?
layer_group.visible=False
does not work.The text was updated successfully, but these errors were encountered: