Google Map blank after tab switch

I have two google map tab pages for different purpose. If switching from menu (setRoot), it works fine to switch between two map pages.

However if I click from first map in tab, it shows properly. Then I click second map in another tab. Second mappage shows blank until I resize browser window. The map is refreshed. Idea?

For whoever experience this problem, below made magic:

  google.maps.event.trigger(this.map, 'resize');
1 Like