> Lol btw. How do you trash the map after the pop up closes ? Coz > technically once it closes, it defines the map size again to be zero.
I rather think that won't matter as such. Just as initializing the map in the undefined div, failed to recognise when the div did get proper size .... I think once set up, the map will ignore further 'hiding' of its div. But where it would all go wrong is if the user resizes the whole window, the map does automatically respond to that. If the map happened to be hidden at that time, it would spoil it again. Creating and trashing maps isn't very elegant; when all you need to do is trigger the map resize event. To do that, you will need to have your map object in global scope, which means paying attention to your 'var map' statements. -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.