Hi guys

I'm having problem with a key registered to a domain containing
national characters ( æ ).

I have 2 URL's pointing (aliased) to one server. The first, with no
national characters is working, but the second with danish character
does not.

Both IE 8 and FF 3.5 show same behavior.

I have registered a key for each, and they use the right key, when
loading the API.

The good: http://www.humlebaekauto.dk/location/

The bad: http://www.humlebækauto.dk/location/

"The bad" translates to "The ugly" (or the other way around)

The ugly: http://www.xn--humlebkauto-f9a.dk/location/

On the URL's that fail, i get an empty warning dialog. Just an
exclamation
and OK button. No text at all.

I'm clueless as to what is wrong, any hints will be most appreciated.

Here's the piece of code that manage the keys:

<CODE>
&lt;?php
        $mapkeys = array(
                "humlebækauto" =>"ABQIAAAA2FBIISs1...9sBFgEuw",
                "xn--humlebkauto-f9a"   => "ABQIAAAA2FBIISs1...9sBFgEuw",
                "humlebaekauto"=>"ABQIAAAA2FBIISs1...CtjY6YNA"
        );

        list($keyhost, $keydomain, $keytld) = split("\.",$_SERVER
['SERVER_NAME'],3);
        $mapkey = $mapkeys[$keydomain];
?&gt;
&lt;script src="http://maps.google.com/maps?
file=api&v=2&sensor=true&key=<?= $mapkey ?>" type="text/javascript"></
script>
</CODE>

Regards

Mogens

--~--~---------~--~----~------------~-------~--~----~
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