Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在处理一个地理定位脚本,但我无法在 html5 中找到方法来等待 gps 传感器收到信号,然后再使用 navigator.geolocation.getCurrentPosition 等执行脚本。
有没有?