Google Map blank after tab switch


#1

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?


#2

For whoever experience this problem, below made magic:

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