Now the problem is an order of events issue. It looks like in IE, the map 
resize event is happening before the tab change, so the map is still 
invisible. You need to delay the resize event until after the tab is 
visible. The simplest way to do that would be like:

google.maps.event.addDomListener(getElementsByHref('mapa')[0],
'click',
    function(){
        window.setTimeout(function() {
var center = map.getCenter();
google.maps.event.trigger(map, 'resize');
map.setCenter(center);
        }, 100);
});

Chad Killingsworth

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