The maps API provides a method checkResize(). This makes the API ask the browser what size the div is, and act accodingly. So all you have to do is trigger checkResize() after the div has got a size, and upon any change.
For the case of a map in a table, it usually suffices to run the GMap2 after document load is complete. In your case, I suspect some other part of your code is resizing the div - some 'splitter' thing. You may be able to trigger the checkResize after that has done its thing, or even defer GMap2 initialise until after. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
