My site is utilizing the Google Maps API, latest version, via Javascript. My site also loads it pages via AJAX. I'm listening for internal link click events and then loading the page, parsing the DOM, selecting what I want via jQuery and inserting it into a div.
When I load my contact page (which contains the map), the map loads fine. In fact, even if I load another page, and then click the contact link (causing the contact page to load via AJAX), the map loads fine. Once I view the contact page, if I navigate to another page (via AJAX), and then return to the contact page by clicking the contact link (via AJAX), then map only shows one square, and the remainder of the map does not load. All of the Javascript to initiate and setup the map is within the contact page code which gets loaded via AJAX each time.
I have tried using the Google Maps event method to trigger a resize, but that has done nothing.
Any ideas?