-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How to organize groups in Layer Control #1712
Comments
@JohnyCarrot Link to official folium documentaion notebook example: GroupedLayerControl Flaws
NOTE:The styling is not included in the plugin or folium. I done it to better illustrate and clarify the context. |
Thanks you so much... This is it, even if i cant control sub groups, its not that big deal. Love you |
Ha, it would be nice to have big groups to turn on/off all subgroups inside and each subgroup can be controlled independently. |
Greetings,
I have a polygons which are part of sub groups (FeatureGroupSubGroup) and these sub groups are part of Groups (FeatureGroup).
What i need is "listing" it like on this image:
I need that my groups (shown as "Big group in image) will have sup groups shown like here and that i can either turn of / off whole group or turn off / on each sup group separatly even big groups are off for example. Currently, i have no idea how to do it.
Here is my code :
Problem description
Problem with this code is that it will just add Feature group (big group) as normal "object" in Layer control and it will either turn it off / on, as individual sub groups (which are not shown like on image above, but on the same level) cant be controlled then.
Expected Output
Output of
folium.__version__
'0.14.0'
The text was updated successfully, but these errors were encountered: