From fe77297cf55a26ac5b44e1ca7327d9b8e819bea8 Mon Sep 17 00:00:00 2001 From: mourner Date: Fri, 17 Feb 2012 11:53:11 +0200 Subject: [PATCH] made zoom animation slightly faster --- src/map/anim/Map.ZoomAnimation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/anim/Map.ZoomAnimation.js b/src/map/anim/Map.ZoomAnimation.js index 4b7f18aa..c44a28df 100644 --- a/src/map/anim/Map.ZoomAnimation.js +++ b/src/map/anim/Map.ZoomAnimation.js @@ -93,7 +93,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : { if (!newTileBg.transition) { // TODO move to Map options newTileBg.transition = new L.Transition(this._tileBg, { - duration: 0.3, + duration: 0.25, easing: 'cubic-bezier(0.25,0.1,0.25,0.75)' }); newTileBg.transition.on('end', this._onZoomTransitionEnd, this);