Skip to content

Is there a way to add colormap to LayerControl? Β #450

Open
@koldunovn

Description

@koldunovn

First of all incredible progress from the last time I have checked folium, my respect to the team!

I am trying to use some examples from Colormaps.ipynb and it seems like the colormap is not recognised by the LayerControl as one of the layers. My question have two parts:

  • Is there a way to make LayerControl aware of the colormap?
  • Most importantly is there a way to combine the layer created, say, with GeoJson and colormap, so they are switched on and off together in the LayerControl.

At the end I would like to have 2 layers on one map, but they should have different colormaps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestFeature request or idea about how to make folium better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions