openlayers/openlayers — pull request #503 by ahocevar (2012-05-31 22:22:36+00:00)
Title: Animated zooming for the map's zoomTo method

This is very basic zoom animation for e.g. the Zoom control, but I thought I'd share it since I don't know if or when I get to work on it again. A few remarks:

* This introduces an applyTransform method on the map, which was duplicated from the PinchZoom control.
* It also works in IE<9, but the animated zooming is a bit shaky. Maybe some rounding issues for the percentage positioning based non-CSS transformation.
* Animated zooming can go beyond the minimum and maximum zoom level, and at the end of the animation the zoom level will switch back to the minimum or maximum zoom level.
* Unit tests are missing.