On Feb 11, 6:12 am, JoMoWeb <[email protected]> wrote:
>
> Thus far, I have accomplished this, but now I am met with a greater
> challenge; how can I make the map re-center after the enlarge
> animation occurs?

I can't test this, but you should be able to do map.checkResize()
within your button-click listener. You will need the Javascript "map"
variable to be global rather than local to your "load" function.

checkResize() gets the API to reassess the size of the visible map and
should cause the missing tiles on the eastern edge to be loaded; and
you may need to panTo() to your centre-point to get the map centred
correctly.

When I try to use your code which I've saved locally to test this
advice, I get a listing of your gmaps directory, which you may need to
disable.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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