Oh, by now, the only thing I have are "empty" forms only with the
maps.. And when I test, I need to test in XP, and Server, two machines
with diferent IP.
And every time I must change all the API keys, with the IP of the XP
machine, and the IP of the server machine..

What I wanted to know, if is possible to put a global file i.e.
"api.xml" with the api key inside, and all the forms reading from it..
And the change the api key only one time for all the site..

Thanks!

On 20 abr, 17:41, Andrew Leach <[email protected]> wrote:
> On Apr 20, 4:36 pm,JuKiM<[email protected]> wrote:
>
> > Is there any way to put an API key accesible from all the site? Now
> > all the forms have the API key, and if I upgrade something on the web,
> > I must change the API key in all the forms modified... What I would
> > like, is to have only one place with the api, and reference it from
> > all the forms..
>
> You should have given some examples.
>
> If you have more than one domain, then in order only to have one key
> you are limited to hosting a map in one domain and using an iframe on
> the others.
>
> If you have only one domain, get a key for the simplest reference
> possible:http://domain.tld
>
> Or: use some key-switching code like Michael Geary's 
> athttp://groups.google.com/group/Google-Maps-API/browse_thread/thread/c...
> -- you could include that in a single external file which every map
> page included. Then you have only one file to update.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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