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 at http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c804b74034915665 -- 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 -~----------~----~----~----~------~----~------~--~---
