Google has this fine new Google Maps API v3 which is a “Javascript API”.
Is there any possibility to invoke this API from a Windows Forms application written in Visual C# .net 3.5?
EDIT:
The goal is to convert addresses to lat/long format using the Google Maps Geocoder.
EDIT 2:
I’d like to use v3 of the API as it doesn’t require an API key anymore. API keys should be bound to a webserver which can’t be the case for a Windows Forms app.
Edit: Looks like the api key is no longer required.
You can use the REST APIs and parse the response (XML/JSON/CSV).
Would output:
Which is:
If you are not familiar with the System.Net APIs, they would go something like this:
Obviously there’s no error handling, it doesn’t support multiple return values and I haven’t actually implemented MapGeolocationResult, but it should give you a start.