Ah, good point, Andrew, I forgot about the Ajax loader. That is indeed the
way to do this instead of rolling your own.

On Mon, Jun 7, 2010 at 2:03 AM, Andrew Leach <[email protected]>wrote:

> On Jun 7, 5:23 am, Acaz Souza <[email protected]> wrote:
> > Hi, i'm trying to load dynamically the google maps api javascript and
> > i'm failed.
>
> Further to Mike's answer: once the document has finished loading,
> "document.write" starts a *new* document. The way to do what you want
> is to follow the documentation for the AJAX loader:
> http://code.google.com/apis/ajax/documentation/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to