Hi all I have tried using keys such as http://127.0.0.1 etc but to no avail. When I use the command alert(window.location.protocol + "://" + window.location.host); in my code it replies with http://127.0.0.1:4725. If there is any known issues with google map keys when hosting a server and client on the same machine I would like to know as this is what i think the main problem is.
On Aug 28, 3:23 pm, Mike Williams <[EMAIL PROTECTED]> wrote: > Akeygenerated for "http://localhost" won't work for "http://128.0.0.1" > Thekeyvalidation code doesn't do a DNS lookup. > > A site hosted on the default port of "http://localhost" doesn't need an > APIkey. > > A site hosted on a specific port of "http://localhost" does need an APIkey. > > Since v2.99, the Javascript code will accept thekeyfor > "http://localhost" as being valid for "http://localhost:4725". The code > in theservermay possibly be different, so I don't know if geocoding > and ggeoxml will work with thatkey. > > If you're using an older version, e.g. v2.s, then you need to register > akeyfor the full window.location.host. > > If in doubt, register akeyfor > window.location.protocol + "://" + window.location.host > > --http://econym.googlepages.com/index.htm > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
