On 16 December 2012 05:53, suvrat bhat <[email protected]> wrote: > > Thanks for your response, one thing is not clear here is I have hosted my > website content on our server and it is made available to public network via > static SNAT. > > Cant I host the content on my server if I want to use API service from > google? > > Do I need to host the content only with a hosting provider? > > If I choose to go with Business account will I be able to host my website on > my server and make it available on the internet?
Sorry for the blunt response: it wasn't clear that you were attempting to create a method of accessing the web page from outside your internal network. I believe this is the first such query which has been posted here since Version 2 was released! Google don't make the details of their security model public, for obvious reasons. As the API script is retrieved by the client browser, this should work if the client browser does not have a private address. However, the URL associated with the API key needs to match the URL shown in the browser, and that should not resolve to an internal IP address. In your Console, your project should have http://www.geekstree.com/ (with the trailing slash) as an allowed URL, and have access to the Version 2 API turned on. In your original post, you had a comma in the URL: if that's also in the Console URL, it won't work. Do note that Version 2 will be retired next May and may stop working altogether. New projects (and existing older applications) should use Version 3. You may also want to review how the default value is displayed in the txtzip input box. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
