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

Add layer control tree plugin #1895

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

hansthen
Copy link
Collaborator

@hansthen hansthen commented Mar 8, 2024

Implemented the Leaflet.Control.Layers.Tree in Folium. See https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree for more details.

Closes: #1606

@hansthen hansthen force-pushed the layer_control_tree branch 2 times, most recently from 0192975 to 884ed3a Compare March 8, 2024 14:47
Copy link
Member

@Conengmo Conengmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Useful plugin, nice implementation. Very complete with documentation.

Some very minor comments. I do want to split out the tojavascript part in a separate PR, so we'd have to update this branch when that has been merged. But should be easy to merge after that.

folium/plugins/treelayercontrol.py Outdated Show resolved Hide resolved
folium/plugins/treelayercontrol.py Outdated Show resolved Hide resolved
tests/test_template.py Outdated Show resolved Hide resolved
folium/template.py Show resolved Hide resolved
docs/user_guide/plugins/treelayercontrol.md Show resolved Hide resolved
@Conengmo Conengmo changed the title Layer control tree Add layer control tree plugin Apr 3, 2024
@Conengmo
Copy link
Member

Conengmo commented Apr 3, 2024

Update this branch once #1912 has been merged.

@hansthen hansthen force-pushed the layer_control_tree branch from 11422ac to 732accf Compare April 3, 2024 21:36
@hansthen hansthen requested a review from Conengmo April 3, 2024 21:47
@Conengmo Conengmo changed the base branch from main to v0.12.1 April 4, 2024 09:02
@Conengmo Conengmo changed the base branch from v0.12.1 to main April 4, 2024 09:02
@Conengmo
Copy link
Member

Conengmo commented Apr 4, 2024

For some reason the updating from main didn't go as expected, I'm seeing the changes that are in main also in the diff here. Maybe something to be mindful of next time. I suppose when I merge this PR it will not cause an issue.

@Conengmo Conengmo merged commit aa13026 into python-visualization:main Apr 4, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

Leaflet.Control.Layers.Tree as a plugin in folium
2 participants