Skip to content

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

Open

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

Activity

  1. added
    plugin
    on Nov 4, 2022
  2. tberends commented on Aug 7, 2024

    @tberends

    I'm looking for the same feature to add a grayscale to esri maptiles. Is there already a solution for this available?

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