I think the best solution would be this var tElem = document.getElementById(targetElem); tElem.style.display = 'block'; var map = new google.maps.Map(tElem, myOptions);
In this case the map 'knows' its size when initialized, so no tilesloaded or resize listener is needed. -- 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.
