If they're different sizes, then I can't see how they can be *exactly* 
the same map.

To treat them as different maps, put one in <div id="map2"> and create a 
separate GMap2 object for each.

Hint: remember to use the {size:} option when you create the GMap2 
that's in the hidden tab, otherwise the API will consider the hidden map 
to have zero size.

To treat them as one map, you'll need to add some lines to the code that 
switches tabs to disconnect the map div from one tab and append it to 
the other, change its .style.width and .style.height to change the size, 
and finally call map.checkResize() so that the API knows about the size 
change.

-- 
Mike Williams
http://econym.org.uk/gmap


--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.


Reply via email to