阅读背景:

navigator.geolocation.getCurrentPosition不会在Android上使用新位置重置

来源:互联网 

I'm trying to build a tracker that only requires a browser window be open, on mobile devices. All of the code seems to work, other than navigator.gelocation.getCurrentPosition. As you can see, I'm using a timer to cycle my code every few seconds. I was expecting the code within the time to output real-time location information, but instead, it seems to resort to using the last known location - or if there isn't one, it will find the location and then keep using the same one. I'm trying to build a tracker that only require




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: