From f2fd2225fd03368c28f42d4baefaab78d5015d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 5 Mar 2019 09:14:18 +0100 Subject: [PATCH] maps: allow some latency in explicit map geolocation (#31079) --- combo/apps/maps/static/js/leaflet-gps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/apps/maps/static/js/leaflet-gps.js b/combo/apps/maps/static/js/leaflet-gps.js index a531f5d9..96566055 100644 --- a/combo/apps/maps/static/js/leaflet-gps.js +++ b/combo/apps/maps/static/js/leaflet-gps.js @@ -96,6 +96,7 @@ L.Control.Gps = L.Control.extend({ this.addLayer(); this._map.locate({ enableHighAccuracy: true, + maximumAge: 120000, watch: true, setView: false, maxZoom: null