sash / jquery-geolocation

Enhanced accuracy option for the native navigator.geolocation.getCurrentPosition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

As discussed in in this article (http://goo.gl/RVe4h) the accuracy of the navigator.geolocation.getCurrentPosition is normally poor. In order to improve it watchPosition is used. 

This jQuery plugin extends the navigator.geolocation.getCurrentPosition and implements minAccuracy option that uses watchPosition to try to get accurate enough position before triggering the callback.

About

Enhanced accuracy option for the native navigator.geolocation.getCurrentPosition


Languages

Language:JavaScript 100.0%