Because you create the map in a hidden container, the browser tells the 
API that the map container has zero size.

When map.getBoundsZoomLevel() tries to work out how low the zoom level 
needs to be in order to fit your mySpace bounds into a viewport of zero 
size it gets a bit confused.

Either use map.checkResize() after you reveal the map and before calling 
map.getBoundsZoomLevel(), or use the {size} option when you create the 
map.

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