Alright, I found the post about the API changes to only make the zoom
animation for a change of a maximum of 2 zoom levels. And it also
appears that people aren't happy with the change. I was hoping there
was a method in the API to do this, but apparently I have to force the
Javascript to do it (Unless someone has a better idea).
I set my script up like this:
function initialize() {
...
// Start the countdown for the zoom in animation
setTimeout("zoomIn()",INITIALZOOMDELAY);
...
}
function zoomIn() {
if( map.getZoom() < ENDZOOM ) {
map.setZoom(map.getZoom() + ZOOMINCRIMENT);
setTimeout("zoomIn()", ZOOMFACTOR * 100);
}
}
I have constants defined for the following:
// Zoom Animation
INITIALZOOMDELAY = 5000; // Number of Millisecond Delay
BEGINZOOM = 10; // Begin Zoom Level
ENDZOOM = 17; // End Zoom Level
ZOOMINCRIMENT = 1; // 1 or 2 only, 1 Slower(smooth animation), 2
Faster(rough animation)
ZOOMFACTOR = 2.0; // 2.0 - 0.1 (Slower (rough animation), Faster
(smooth animation))
Where INITIALZOOMDELAY is used in the creation of the map and is set
as the map's initial zoom.
Hope this helps someone! And I am open to any other ideas people might
have!!
-Kivak