To use google static maps requires obtaining an API key that is registered for the domain. This statement sounds like a complete explanation, but just how does that work? How does google 'see' the domain when the URL is embedded in a web page that is executing in a user's browser out in the internet?
Looking at it step by step: - Suppose I have a web server at www.MyServer.com. - A user in the internet browses to http://www.MyServer.com/MyPage.aspx. - My web server sends the page to the user's browser. - The user's browser begins rendering the page and discovers an image tab with a URL like: http://maps.google.com/staticmap?... - The user's browser opens a new TCP/IP connection to maps.google.com and requests the URL. Now, how does google see that the request originating from the user's browser is part of a page from www.MyServer.com? Do browsers include the page URL as part of the HTTP request to get the contents for the image? Hopefully understanding EXACTLY how it works will avoid embarrassing FORBIDDEN messages. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
