On Aug 3, 9:23 pm, DouglasG <[email protected]> wrote: > > "Unable to download staticmap from maps.google.com. Unable to open > this Internet site. The requested site is either unavailable or cannot > be found"
That's an extremely unhelpful error message, which gives no useful information at all! If maps.google.com is available and can be found by a browser, then it could be - your app isn't reaching the internet (firewall, socket error, whatever) - Google is rejecting your request based on user-agent or referer, and closing the connection - some other reason I suggest coding a simple web page which contains a little text and the required <img> element, hosting that somewhere and pointing your app at that webpage. If that works, then depending on the Javascript capabilities of your WebBrowser control, you could use a querystring and construct the <img> tag dynamically within the web page, or use a server-side script to create the page with the correct <img> tag in it. If the text is displayed by your control but not the image, it's getting the page successfully so Google must be objecting to the user- agent (since a referer header of your web page would be supplied in that request). -- 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.
