On Dec 10, 4:59 pm, Andrew Leach <[email protected]>
wrote:
>
> See my post earlier in the thread. It looks like Safari does indeed
> honour the camelcase domain name, and this causes key-validation to
> fail.

No, I'm talking through my hat.

Your key switching code uses location.host, and if Safari honours a
camel-case domain name, none of your tests will match, so you load the
API with an empty key.

Try using
 [location.host.toLowerCase()]
instead of
 [location.host]

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