put

alert("http://"+window.location.host);

in a javascript block in your page, and then get a key for the url displayed.

On 14 December 2010 19:41, mhkeller <[email protected]> wrote:
> Hi, I have installed the Ushahidi map platform to a sub-directory on
> my site. I have a separate domain name pointing to just this sub-
> directory and I am having a problem getting the API key to work.
>
> So my set up is like this
>
> mainsite.com
> -sub-directory-containing-map
>
> "sub-directory-containing-map" is then the home page of another
> domain, call it "mapsite.com"
>
> i have tried putting in "mapsite.com" and getting a key from that but
> it says it does not work. Any suggestions would be greatly
> appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API V2" 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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