Wow, but in this example:
http://www.google.com/url?sa=D&q=http://gmaps-samples-v3.googlecode.com/svn/trunk/callback/callback_delayed.html&usg=AFQjCNGnNjAkQKgeBbrPg-9oUeShEJI-ig

with the parameter "callback=CallbackFunctionName" the api works fine
with dynamically loaded.

it's what i need, but why the api itself in default use document.write
to load scripts and don't append tag script?

On 7 jun, 13:25, Michael Geary <[email protected]> wrote:
> 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