diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index e522f540..cbb31dfe 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -841,6 +841,7 @@ L.U.LocateControl = L.Control.extend({ activate: function () { this._map.locate({ setView: true, + maxZoom: this._map.getZoom(), enableHighAccuracy: true, watch: true });