Google Maps API v3, jQuery UI Tabs, map not resizing
问题 I am using Google Maps API v3, being displayed on a jQuery UI Tab. I have been struggling with triggering my google map to resize correctly when the tab displaying the map is selected. The jQuery documentation here http://docs.jquery.com/UI/Tabs provides that: For Google maps you can also resize the map once the tab is displayed like this: $('#example').bind('tabsshow', function(event, ui) { if (ui.panel.id == "map-tab") { resizeMap(); } }); No matter what I try, the above code will not work