Use flyTo option in locate if map settings aks for it
This commit is contained in:
parent
1fce475e41
commit
2bcac67dec
1 changed files with 2 additions and 1 deletions
|
@ -261,7 +261,8 @@ L.U.Map.include({
|
|||
// but the control breaks if we don't specify a class here, so a fake class
|
||||
// will do.
|
||||
icon: 'umap-fake-class',
|
||||
iconLoading: 'umap-fake-class'
|
||||
iconLoading: 'umap-fake-class',
|
||||
flyTo: this.options.easing
|
||||
});
|
||||
this._controls.fullscreen = new L.Control.Fullscreen({title: {'false': L._('View Fullscreen'), 'true': L._('Exit Fullscreen')}});
|
||||
this._controls.search = new L.U.SearchControl();
|
||||
|
|
Loading…
Reference in a new issue