Do you have an example of the page you're currently doing this on?

thanks!

On Dec 17, 10:35 am, Johnny <[email protected]> wrote:
> hi,
>
> I want to show the map only after it's been loaded. So I put it in a
> div with style="display:none" and set a listener with
> google.maps.event.addListenerOnce(map, 'tilesloaded', function(){
>     $('#map').show();
>     google.maps.event.trigger(map, 'resize');
>
> });
>
> Unfortunately, this event is not called when the div isn't visible
> (but it is called when the div is visible).
>
> Any ideas on how to solve this?
>
> thanks,
> Johnny.

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