Andrew - Thank you for your advice.  it was enough to get me going in
the right direction. (Also, thanks for noticing the directory browsing
so I could shore that up)

First, I declared a global variable for the map object as you
suggested.

I tried adding different actions to my button (i.e. checkResize,
panTo), but nothing worked.  I tried "setZoom()", and that did.  I
soon came to the conclusion that some actions were not working
possible because the DOM wasn't respecting the new sizes during the
animation.  So I built those functions into a setTimeout with the same
duration as the animation and voila!

Updated example: http://jomoweb.com/gmaps/gmap-dev.php

Now I am kind of disappointed that the animations jolt rather than
ease or tween smoothly. Are there features in the API that might make
this possible, or perhaps a plugin that can help?  My second beef is
the grey tiles that appear between animations.  Is there a way to pre-
load a larger map than the visible portion to minimize this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to