From 9274ee2b5f691c6f90a3615901a7fc355c884cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Mon, 11 May 2015 16:54:46 +0200 Subject: [PATCH] Graceful degradation of zoom-pan animations, fixes #3272. --- debug/map/zoompan.html | 34 ++++++++++++++++++++++------------ src/layer/tile/GridLayer.js | 6 +++++- src/map/Map.js | 1 + src/map/anim/Map.FlyTo.js | 2 +- 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/debug/map/zoompan.html b/debug/map/zoompan.html index 9c0e0f11a35..75cb03b9071 100644 --- a/debug/map/zoompan.html +++ b/debug/map/zoompan.html @@ -13,6 +13,10 @@ width: 600px; height: 400px; } + button { + min-width: 3em; + text-align: center; + } @@ -22,21 +26,22 @@
-
- - - - - +
+
+
+
(flyTo 20 sec)
+
(fract. zoom)
+
(setView, fract. zoom)
+
+