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 () {
|
||||
this._map.locate({
|
||||
setView: true,
|
||||
maxZoom: this._map.getZoom(),
|
||||
enableHighAccuracy: true,
|
||||
watch: true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue