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

Attach html to feature group #1079

Open
kathrynhamilton opened this issue Mar 4, 2019 · 1 comment
Open

Attach html to feature group #1079

kathrynhamilton opened this issue Mar 4, 2019 · 1 comment
Labels
enhancement Feature request or idea about how to make folium better

Comments

@kathrynhamilton
Copy link

I am looking to add an HTML legend at the bottom corner of each layer. The legend will be different per layer.

I can add an HTML legend to the base map using map.get_root().html.add_child(<html>), however this will only display the same text for all layer. I am looking instead for a method to attach html to a feature group, ie, something like feature_group.get_root().html.add_child(<html>).

@rgox
Copy link

rgox commented Jun 3, 2021

Heyy, I am looking for the answer, someone kow how to do that ?

@Conengmo Conengmo added the enhancement Feature request or idea about how to make folium better label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request or idea about how to make folium better
Projects
None yet
Development

No branches or pull requests

3 participants