misc: allow some latency in explicit map geolocation (#30568)

This commit is contained in:
Frédéric Péters 2019-02-12 16:24:23 +01:00
parent 7a4de10ba3
commit e5026f3dcc
1 changed files with 1 additions and 0 deletions

View File

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