Merge pull request #1083 from umap-project/locate-flyTo
Use flyTo option in locate if map settings aks for it
This commit is contained in:
commit
e956dc7ede
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