I\'m using gmaps.js to load 2 maps in Bootstrap tabs. What happens, is the first map loads fine, but when the second tab (hidden) is clicked, the map doesn\'t load properly.
trigger the resize-event of the window when a tab is shown(shown fires later than click, when the tab is already visible):
shown
click
$('.nav-tabs').on('shown.bs.tab', function () { google.maps.event.trigger(window, 'resize', {}); });
http://jsfiddle.net/BAm69/