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

View File

@@ -6,7 +6,7 @@ import _ol_events_ from '../events.js';
import _ol_events_EventType_ from '../events/EventType.js';
import _ol_control_Control_ from '../control/Control.js';
import _ol_css_ from '../css.js';
import _ol_easing_ from '../easing.js';
import {easeOut} from '../easing.js';
/**
* @classdesc
@@ -113,7 +113,7 @@ _ol_control_Zoom_.prototype.zoomByDelta_ = function(delta) {
view.animate({
resolution: newResolution,
duration: this.duration_,
easing: _ol_easing_.easeOut
easing: easeOut
});
} else {
view.setResolution(newResolution);