Hey There,

When I'm trying to embed the API key into my webpage it returns an
error (API key is not matching...), now, I've read the API
documentation and it says to use document.location.host to resolve via
JavaScript in order to resolve current host and then create an API key
for that host.

The problem is, that the hosts that returns from the javascript
declaration is without 'http://' inside it (just www.mysite.com) and
Google API key generator won't allow me to create an API key for a
site without the 'http://' prefix in it.

Any suggestions?

Lior.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to