Pil,

I am doing the way you have mentioned and it works fine.

I was a bit uneasy since the it was breaking when the display property
was set later.  Thanks for the advice and help.

On Jul 11, 1:01 pm, Pil <[email protected]> wrote:
> 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.

Reply via email to