This was perplexing me for ages. But seemingly, if gmap is loaded in say tab 2 ( non ajax ) then because the div was hidden, the map doesnt load correctly / fully.
Does anyone know of a fix ?
Alternatively I could fire ajax requests off tab 2 and tab 3 but tab 1 is in page content and non ajax. The only fixes I have seen thus far are to make all tabs ajaxified, or none !
The other issue, being that if I use ajax, for fetching the map, on say TAB 2, then if i click tab 2, then tab 3 then tab 2 as far as i can see it, it sends a 2nd ping to google, for the map data meaning we will be running to many needless requests.
So the best option seems to be to NOT use ajax, but somehow fire the set size for the map when the tab is clicked.
Does that make sense ?
Anyone got any suggestions ?