From e5026f3dcc69214e97581d0bcc095874d55d9724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 12 Feb 2019 16:24:23 +0100 Subject: [PATCH] misc: allow some latency in explicit map geolocation (#30568) --- wcs/qommon/static/js/leaflet-gps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcs/qommon/static/js/leaflet-gps.js b/wcs/qommon/static/js/leaflet-gps.js index 1414239d3..a55ef7346 100644 --- a/wcs/qommon/static/js/leaflet-gps.js +++ b/wcs/qommon/static/js/leaflet-gps.js @@ -94,6 +94,7 @@ L.Control.Gps = L.Control.extend({ this.addLayer(); this._map.locate({ enableHighAccuracy: true, + maximumAge: 120000, watch: true, setView: false, maxZoom: null