I? need some C#? code (.NET *Compact* Framework 2.0) code to do the following:
* Search some sort of web search API for a location given some text (e.g. "Grand Central Station, New York")
* Return a list of possible search results as text, along with their latitudes and longitudes
I'd like a C# function something like GetLocs(string srchterm) which returns an array of string name, double latitude, double longitude. The first ten hits is fine. I don't mind which search API you use, though one of the big ones would be preferable.
I don't think it will matter, but this needs to work on both touch-screen and non-touch-screen devices. Windows Mobile 5.0 is a reasonable requirement but if the worst came to the worst I could be happy with requiring 6.0.