Reverse Geocoding Example using C#

Sep 22, 2010 at 11:29 PM

Hi,

Do you  have an  example for Reverse Geocoding Example using C#?

Thanks

Coordinator
Nov 18, 2010 at 12:59 PM

Sorry for the "late" reply, have  not noticed.

here is a reverse geocoding sample

SpotInfo sinfo = new SpotInfo();
sinfo.LatLng = new SpotLatLng(Latitude,longtitude);
Geocoder geo = new Geocoder();
GeoResult result = geo.GetGeoResult(sinfo);
if (GeoResultStatus.OK.Equals(result.Status))//@since 0.1.1
{
foreach (GeoObj obj in result.Results)
{
Response.Write(obj.FormattedAddress + "<br>");
}
}