> The div in question is already existent and is not resized during the
> unhide process, unless changing the display option is actually
> considered resizing.
That is at the root of the problem ; the Maps API asks the browser
what size the div is that you have asked it work with ; browser
reports a hidden div as having no visible size.
> "function getMap(box,latitude,longitude) {
...
> var mymap = new
> google.maps.Map(document.getElementById('CLUB_overlay_map_window_' +
> box), myOptions);
That will work if the div is visible at the time that you create the
new map. Make the div visible first - bear in mind that takes work/
time for the browser. You might want to call map creation via a
short (or even zero) setTimeout so that the map creation goes into the
browser's work queue after the un-hiding.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.