osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

Enable automatic night mode when in a tunnel #2724

Open cmeeren opened 8 years ago

cmeeren commented 8 years ago

Day mode can be rather bright in tunnels. I suggest adding an option to the Map Mode menu (Day, Night, Sunrise/Sunset and Light sensor) to enable night mode when in a tunnel. This feature is present in other navigation apps, e.g. Google Maps and IGo.

Before you suggest just using the light sensor for this, there are two problems:

  1. Not all devices have light sensors (e.g., in-car head units with Android - I have installed OsmAnd there and am currently experimenting with using OsmAnd as my main in-car navigation app).
  2. The light sensor threshold is not adjustable, and frequently it shifts to night mode even in bright daylight, when e.g. driving through a heavily forested area (where the ambient light is still bright enough that night mode poses a problem).

Using tunnel detection outside navigation might require enabling "snap to road" functionality outside navigation.

Currently using OsmAnd 2.3.5 (though point 2 above, the light sensor complaint, comes from an earlier version - I haven't tested that in a while.)

aceman444 commented 8 years ago

Yes, when "snap to road" is on, OsmAnd may guess when you are in a tunnel also without a sensor.

vshcherb commented 8 years ago

Yes, it can.

teatimetom commented 4 years ago

Is there any update?

scaidermern commented 4 years ago

This is already possible when setting day/night mode to light sensor (Configure map -> Map mode). However it currently depends on your device whether this works well since the sensitivity is not configurable (see #5001 and #5405).

cmeeren commented 4 years ago

Please read the OP:

Before you suggest just using the light sensor for this, there are two problems: (...)

scaidermern commented 4 years ago

Please read the OP:

Before you suggest just using the light sensor for this, there are two problems: (...)

Sorry, my fault. However for implementing this it would be nice to have a more reliable tunnel detection (#5879).

teatimetom commented 4 years ago

Any news?

toas-koas commented 2 years ago

Any update?

reibax-marcus commented 2 years ago

This would be nice