nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 4d1e3256b6932bcdb0b8d876e6dc9a3fc1f4c100
parent 7c6e72478971d23b1b9c77f9f5d9b339bdfdfe47
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat, 28 Apr 2018 01:59:21 +0300

geolocation: disabled location timeout #59

Diffstat:
Msrc/lib/leaflet.control.locate/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/leaflet.control.locate/index.js b/src/lib/leaflet.control.locate/index.js @@ -104,7 +104,7 @@ const LocateControl = L.Control.extend({ // if map not following marker -- center map at marker, start following options: { - locationAcquireTimeoutMS: 10000, + locationAcquireTimeoutMS: Infinity, showError: ({message}) => { alert(message); },