How can I load the API into a page asynchronously after the page has loaded?
Both the Google Maps JavaScript API v2 and v3 can be loaded into a page asynchronously after the page has loaded using the AJAX Common Loader. When using the Common Loader, the API is only loaded when google.load(“maps”, …) is called, which can happen at any time after the Common Loader has loaded. Alternatively the v2 API can be loaded directly from http://maps.google.com/ using the async and callback parameters, as illustrated in this code sample. The v3 API can be loaded asynchronously in the same way, although only the callback parameter is required.