Bootstrap tabs, resize not working
-
I’m using Bootstrap tabs, each with a map in it. As expected, when the tab shows, the map shows most of its area blank.
I tried using the following code:
$('.pgm').on('pronamic-google-maps-ready', function(map) { $('#tourtabs a').on('shown.bs.tab', function(e) { google.maps.event.trigger(map, "resize"); }); });
But it does not work. I’m at my wits end, and I can’t figure out how to solve this. Any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bootstrap tabs, resize not working’ is closed to new replies.