Named exports from ol/easing

This commit is contained in:
Frederic Junod
2017-12-14 08:42:36 +01:00
parent e2c9175f6d
commit 061e0b6618
12 changed files with 44 additions and 46 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
import {inherits} from '../index.js';
import _ol_ViewHint_ from '../ViewHint.js';
import _ol_coordinate_ from '../coordinate.js';
import _ol_easing_ from '../easing.js';
import {easeOut} from '../easing.js';
import _ol_events_condition_ from '../events/condition.js';
import _ol_functions_ from '../functions.js';
import _ol_interaction_Pointer_ from '../interaction/Pointer.js';
@@ -120,7 +120,7 @@ _ol_interaction_DragPan_.handleUpEvent_ = function(mapBrowserEvent) {
view.animate({
center: view.constrainCenter(dest),
duration: 500,
easing: _ol_easing_.easeOut
easing: easeOut
});
}
view.setHint(_ol_ViewHint_.INTERACTING, -1);