On 17 December 2010 23:23, [email protected] <[email protected]> wrote: > > That is a good question. The v2 API had a size option to the GMap2 > constructor that solved this problem for a lot of people. That > doesn't seem to be documented. Does it exist?
Well, it isn't documented as you say. However, you can trigger a resize event on the map whenever it should recalculate its size, and that is recommended in the documentation: "Developers should trigger this event on the map when the div changes size: google.maps.event.trigger(map, 'resize') ." -- 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.
