maps: allow some latency in explicit map geolocation (#31079)

This commit is contained in:
Frédéric Péters 2019-03-05 09:14:18 +01:00
parent 08182efe31
commit f2fd2225fd
1 changed files with 1 additions and 0 deletions

View File

@ -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