From 9d950525bbf775e30df5fda026a6b2bf3a88e0b5 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Sat, 9 Mar 2013 02:15:32 +0100 Subject: [PATCH] Default to easing inAndOut for all animations --- src/ol/animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/animation.js b/src/ol/animation.js index e15d3bffab..7c0b4dffdf 100644 --- a/src/ol/animation.js +++ b/src/ol/animation.js @@ -109,7 +109,7 @@ ol.animation.zoom = function(options) { var start = goog.isDef(options.start) ? options.start : goog.now(); var duration = goog.isDef(options.duration) ? options.duration : 1000; var easing = goog.isDef(options.easing) ? - options.easing : ol.easing.linear; + options.easing : ol.easing.inAndOut; return function(map, frameState) { if (frameState.time < start) { frameState.animate = true;