Skip to content

Leaflet.Control.Layers.Tree as a plugin in folium #1606

Closed

Description

@vizsim

I would love to see Leaflet.Control.Layers.Tree as a plugin in folium!
https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree

It would boost the ability to interact with mulit-layered data maps created by folium.

Nice example:
https://jjimenezshaw.github.io/Leaflet.Control.Layers.Tree/examples/airports.html

grafik

Activity

  1. IndigoWizard commented on Aug 6, 2022

    @IndigoWizard

    This PR #1592 : "add groupedlayercontrol plugin" is the closest thing to the feature so far, which comes in response to the issue #1025 : "Radio control instead of checkboxs for layer control" that requests something like Leaflet plugin leaflet-groupedlayercontrol, but it seems it's been hanging there with no new reviews or checks for merge.

  2. added
    plugin
    on Nov 17, 2022
  3. Conengmo commented on Nov 17, 2022

    @Conengmo
    Member

    #1592 was merged and will be included in the 0.14.0 release. It doesn't contain functionality for layer control trees, so we can keep this issue open.

  4. hansthen commented on Mar 8, 2024

    @hansthen
    Collaborator

    @Conengmo I can take a stab at porting this plugin to Folium. I used it in another project and I am quite fond of it. The main issue I foresee is that Leaflet.Control.Layers.Tree is configured through a javascript dictionary with functions at arbitrary locations in the tree.

    Can I pilfer your tojavascript filter from the draft PR in #1856?

  5. added a commit that references this issue on Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions