This project is read-only.

Reverse Geocoding Example using C#

Sep 23, 2010 at 12:29 AM

Hi,

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

Thanks

Nov 18, 2010 at 1: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>");
}
}