This has to do with the way the API loads itself via the bootstrap. In the 
normal method (as shown in most of the samples), the API uses document.write 
to add itself. However, in your case, this isn't what you want. Instead, 
you'll need to do a 2-step loading process. In your onload function, you'll 
need to add the API with a callback parameter. This will force the API to 
add itself by using dynamic script inclusion. In the callback of the API, 
you'll initialize your map.

See 
http://code.google.com/apis/maps/documentation/javascript/basics.html#Async for 
an example of this method.

Chad Killingsworth

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to