Nick Spacek
unread,Oct 6, 2009, 8:42:21 AM10/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
Hi there,
I found today that if I do:
var map = new google.maps.Map( /* blah */ );
map.fitBounds( someBounds );
I get a very zoomed out version of my map. Thought there was something
wrong with my bounds, but then I tried:
var map = new google.maps.Map( /* blah */ );
setTimeout( function() { map.fitBounds( someBounds ); }, 1 );
And it works fine. I get the same behavior in Firefox 3.5 and Chrome.
Anyone else run into this?