开发者

Accurate of navigator.geolocation.getCurrentPosition

开发者 https://www.devze.com 2023-03-22 14:21 出处:网络
开发者_如何学运维How accurate is result of navigator.geolocation.getCurrentPosition() function?

开发者_如何学运维How accurate is result of navigator.geolocation.getCurrentPosition() function?

When it can return low-quality results?


It depence from type of connection too:

  • WiFi ~20m
  • GPS ~10m
  • GSM ~1km


have a look at the below

http://www.thedotproduct.org/2010/04/accurate-geo-location-from-apple-iphone-using-navigator-geolocation/

Bear in mind that behind the scene this API uses the mobile cell towers and their signal strengths so it may be not really accurate(it could return few locations against one positions)

0

精彩评论

暂无评论...
验证码 换一张
取 消