parent
eeb58a8c21
commit
1afc366e11
1 changed files with 1 additions and 0 deletions
|
@ -841,6 +841,7 @@ L.U.LocateControl = L.Control.extend({
|
||||||
activate: function () {
|
activate: function () {
|
||||||
this._map.locate({
|
this._map.locate({
|
||||||
setView: true,
|
setView: true,
|
||||||
|
maxZoom: this._map.getZoom(),
|
||||||
enableHighAccuracy: true,
|
enableHighAccuracy: true,
|
||||||
watch: true
|
watch: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue