On Sep 24, 5:09 pm, bdcribbs <[email protected]> wrote:
> I'm working on a project that can be deployed in any of 5 environments
> during QA/UAT/etc so I've developed a js file that figures out the
> host and injects the corresponding API script element.
>
> Is this disallowed by the google API?

Why should dynamic key assignment be disallowed? Have a look at
Michael Geary's elegant client-side solution:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c804b74034915665

Something similar could be implemented server-side if you didn't want
your pre-production environments' names to leak into the production
code.

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