Google Maps API Key alert problem
Posted
by taudorf
on Stack Overflow
See other posts from Stack Overflow
or by taudorf
Published on 2010-03-18T12:45:02Z
Indexed on
2010/04/29
4:57 UTC
Read the original article
Hit count: 287
I have a problem with my Google Maps API key. I get an alert saying "This web site needs a different Google Maps API key.
" When I prees OK to the alert the map are loading and working fine.
The same problem is already posted: http://stackoverflow.com/questions/1803327/google-maps-api-key-not-working
I have tried to request the API key for both "http://www.domain.com" and "http://domain.com" but I still get the alert. When I follow the instructions from their FQA and use alert(window.location.host) I get www.domain.com but the api key generator will only accept the domain if the prefix is http://
Does anyone have a solution to this?
© Stack Overflow or respective owner