fix: geoloc with HIGH accuracy
This commit is contained in:
parent
fad2ac4696
commit
d534f1f37c
|
@ -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 });
|
||||||
|
|
Loading…
Reference in New Issue