TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How Google Maps detect if I am passing under the bridge?

1 pointsby gkrishnaalmost 4 years ago
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?

2 comments

oscarcpalmost 4 years ago
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.
评论 #28230990 未加载
olvias55almost 4 years ago
that's a good question, I thought it just detect your location on the map