BIOSTALL/CodeIgniter-Google-Maps-V3-API-Library — pull request #28 by mikeschutz (2014-03-20 17:28:07+00:00)
Title: Fixed and improved asynchronous loading

I made the following changes to get this working in AJAX requests. It works great now -- I hope you can pull these changes into the project.

1. Added $loadAsynchDelay config variable to help prevent issue where maps initialize before its elements finish loading.

2. Moved google.maps.InfoWindow constructor inside loadScript function, so it doesn't error out on asynchronous pages.

3. Added code (line 2117) to prevent Google Maps API from loading multiple times on subsequent AJAX calls.

4. Minor fix on line 2127 to kick off loadScript function on AJAX calls.

Thanks,
Mike