I recently noticed when I was commuting using Grab that Maps changes to Dark mode when I'm passing under the bridge. I'm curious to know how it detects? Is it done using the phone sensors or satellite data?
As far as I know the default behaviour of Google Maps is to switch light/dark mode depending on the feedback from the light sensor next to the front camera, so basically as soon as it detects a lack of light, it will switch to dark mode.