TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 gkrishna将近 4 年前
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 条评论

oscarcp将近 4 年前
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 未加载
olvias55将近 4 年前
that's a good question, I thought it just detect your location on the map