-
Notifications
You must be signed in to change notification settings - Fork 301
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
Enable night mode while in tunnels #559
Comments
Upstream ticket for tunnels and other notifications: Project-OSRM/osrm-backend#3028 I can remember talking to @1ec5 about tunnels when we added the classes way property and there was an argument against tunnels but I can't remember - @1ec5 could you chime in here? |
In this case, I don’t think we need an additional notification from OSRM. We already query the map vector tiles on each location update to get the current road’s name. #297 (which was closed but could easily be resurrected) refactors that code to give us rich information about the current road, including whether it’s in a tunnel or on a bridge. |
Project-OSRM/osrm-backend#4816 added a |
This shipped in #1127 |
We should be able to tell if a driver's in a tunnel and automatically enable dark mode.
However, this isn't something that's currently supported by the Directions API
cc @bsudekum @miccolis @v8c3
The text was updated successfully, but these errors were encountered: