-
Notifications
You must be signed in to change notification settings - Fork 85
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
[UX] Dark mode should change map into Dark Mode as well #199
Comments
The map is created using react-map-gl as a wrapper for Mapbox GL JS. The map images themselves come from OpenStreetMap Carto as a raster as defined in this json file that we use to define our mapStyle: Line 115 in 5fdd07e
Because the map is a raster it would be difficult to change the look of it, and OpenStreetMap does not offer a dark mode for the map. |
#33 could possibly solve this |
Surely we can pull from other maplibre-gl-styles ? Eg, |
maplibre-gl just styles maps it does not source the map itself. The source of the map for those two styles is:
Meaning the map tiles come from Mapbox, which is a paid service. Mapbox is providing their map as a vector which allows for creating custom layers:
OpenStreetMap is free but their map comes as a raster image instead of a vector so there is no ability for styling. |
How about adding a CSS |
https://meshmap.net/ uses the same hack on their map just with |
Dark mode setting should change map into Dark Mode as well, the bright map can cause eye strain when working in darker environments.
The text was updated successfully, but these errors were encountered: