fix: geoloc with HIGH accuracy

This commit is contained in:
xdrm-brackets 2017-12-08 05:33:22 +01:00
parent fad2ac4696
commit d534f1f37c
1 changed files with 1 additions and 1 deletions

View File

@ -62,4 +62,4 @@ delete window._router_;
---------------------------------------------------------*/ ---------------------------------------------------------*/
navigator.geolocation && navigator.geolocation.getCurrentPosition(function(loc){ navigator.geolocation && navigator.geolocation.getCurrentPosition(function(loc){
gstore.data.loc = [ loc.coords.latitude, loc.coords.longitude ]; gstore.data.loc = [ loc.coords.latitude, loc.coords.longitude ];
}, null); }, null, { enableHighAccuracy: true });