Accurate of navigator.geolocation.getCurrentPosition
开发者_如何学运维How accurate is result of navigator.geolocation.getCurrentPosition()
function?
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)
精彩评论