On Dec 24, 3:49 pm, "Jake Newren" <[email protected]> wrote:
>
> I have three different domains that the map loads from and using this
> function I can set the API key dynamically when the page loads. The only
> problem is that when I try to load the API this way is that I get a nasty
> message from FireBug:

The API script is itself a loader script for the main chunk of code.

> I did some digging and it appears what is happening is that the main.js file
> is getting loaded before the loader is finished being eval'd. Am I just
> stuck doing a server side key assignment to make the map work???

Of course not. See Michael Geary's elegant client-side solution at
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c804b74034915665

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