From d534f1f37c2c2297900247e97a85f7dd40aaf6bc Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 8 Dec 2017 05:33:22 +0100 Subject: [PATCH] fix: geoloc with HIGH accuracy --- view/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/main.js b/view/main.js index 29a67d6..781263c 100755 --- a/view/main.js +++ b/view/main.js @@ -62,4 +62,4 @@ delete window._router_; ---------------------------------------------------------*/ navigator.geolocation && navigator.geolocation.getCurrentPosition(function(loc){ gstore.data.loc = [ loc.coords.latitude, loc.coords.longitude ]; -}, null); +}, null, { enableHighAccuracy: true });