calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Switch to dark map when using dark style

Open cassidyjames opened this issue 5 years ago • 5 comments

Not sure if this is possible or feasible, but it would be nice to use a dark map here.

Screenshot from 2020-09-11 16-22-43


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

cassidyjames avatar Sep 11 '20 22:09 cassidyjames

It should be possible to select a custom tile set. It would probably be worth trying to find a nice matching dark and light tile set

danirabbit avatar Sep 11 '20 23:09 danirabbit

Just a quick Google there's https://openmaptiles.org/

Not sure what the compatibility is

danirabbit avatar Sep 11 '20 23:09 danirabbit

On Google Maps it's possible to set the map style through a json, I suppose that it's possible on OSM too.

I've found this: https://www.thunderforest.com/maps/transport-dark/, not very nice though

There's another dark style available here: https://userstyles.org/styles/173774/openstreetmap-dark-theme This one doesn't seem nice as well, anyway there's a CSS button from where I assume that the style can be downloaded. Maybe it can be a good starting point from who's interested into making a dark theme.

trane77 avatar Sep 19 '20 15:09 trane77

Looks like GNOME maps is using MapBox for tiles and has a dark mode. So that might be a good place to look

danirabbit avatar Sep 19 '20 15:09 danirabbit

Finally the website loaded and I was able to get the dark mode CSS, in case someone needs it: https://gist.github.com/funder7/7cb4c9440245e1d9557a83439f69128a

trane77 avatar Sep 19 '20 15:09 trane77