Skip to content

Add layer control tree plugin - #1895

Merged
Conengmo merged 3 commits into
python-visualization:mainfrom
hansthen:layer_control_tree
Apr 4, 2024
Merged

Conengmo merged 3 commits into
python-visualization:mainfrom
hansthen:layer_control_tree

Conversation

@hansthen

@hansthen hansthen commented Mar 8, 2024 •

Copy link
Copy Markdown
Collaborator

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

Closes: #1606

@Conengmo Conengmo left a comment •

Copy link
Copy Markdown
Member

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.

Comment thread folium/plugins/treelayercontrol.py Resolved
Comment thread folium/plugins/treelayercontrol.py Resolved
Comment thread tests/test_template.py Resolved
Comment thread folium/template.py Resolved
@Conengmo Conengmo changed the title Layer control tree Add layer control tree plugin Apr 3, 2024
@Conengmo

Conengmo commented Apr 3, 2024

Copy link
Copy Markdown
Member

Update this branch once #1912 has been merged.

@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

Conengmo commented Apr 4, 2024

Copy link
Copy Markdown
Member

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.

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