Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amir-arayeshnia opened this issue Oct 26, 2022 · 0 comments
Open
Labels
plugin This issue/PR is about an existing or new plugin

Comments

@amir-arayeshnia
Copy link

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

@Conengmo Conengmo added the plugin This issue/PR is about an existing or new plugin label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin This issue/PR is about an existing or new plugin
Projects
None yet
Development

No branches or pull requests

2 participants