It sounds like you may be creating the GMap2() object inside a div 
that's currently hidden. When you do that, the browser tells the API 
that he size of the div is zero, and the API calculates the viewpoint 
centre based on that information.

If that is your problem, you either need to tell the API what size your 
div is going to eventually be, using {size:new GSize(600,400)}, or use 
map.checkResize() when the div is unhidden.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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