Caching it on your server, probably does violate the terms not sure,
but definitly is not to be recommended, as you wont be able to pickup
updates.

I seriouslly doubt your server is going to be faster than Googles for
most visitors (it might for you as you closer), so all you really
going to save is a DNS lookup, and people are likly to have
www.google.com cached anyway, and the API goes on to load furhter
stuff, so its only delaying it a tinybit.



Its not using the jsapi loader, but an example here of loading on demand.
http://www.nearby.org.uk/google/static3.php

As you forgot to inlcude a link to your map we cant really help
diagnose your issue. Certainly should be possible.




On 12/06/2009, nunb <[email protected]> wrote:
>
>  Is it possible to cache the script downloaded from  
> http://www.google.com/jsapi?key=KEYVAL
>  and then serve the same script off my local webserver? This is mostly
>  for speed, and to avoid flicker.
>
>  Does this break any TOS?
>
>  Secondly, I have tried to load the jsapi script "on-demand" only on
>  pages on my site which need the map. Since I am not using REST, I
>  tried to load the jsapi script with a standard insert-new-node-into-
>  header javascript nugget, but that didn't work.
>
>  Has anyone tried ajax-loading the jsapi scripts? Is it not
>  recommended? Is there a place in the docs that discusses these
>  approaches more?
>
>  cheers,
>  nb
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
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