Skip to content

Dark mode feature by wrapping Leaflet.TileLayer.ColorFilter plugin #1635

Open
@amir-arayeshnia

Description

@amir-arayeshnia

Creating a dark mode feature for Folium seems necessary. One way to implement this feature is to wrap Leaflet.TileLayer.ColorFilter plugin, which applies CSS filters on map tiles.

A nice demo is provided here:
https://xtk93x.github.io/Leaflet.TileLayer.ColorFilter.updateFilter/

I would be grateful if someone could take the time and wrap this lightweight plugin for Folium. Please let me know if there is any other workaround for creating dark mode (rather than using original tiles with dark theme).

sidebyside

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginThis issue/PR is about an existing or new plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions