AddressRegions Property |
Namespace: Telogis.GeoBase
Different countries have different levels of administrative regions.
For example, Germany is divided into 16 Bundesländer (federal states), which are further divided into Regierungsbezirke (government regions), which in turn are subdivided into Kreise (administrative districts), which may again comprise Ämter (offices) and Gemeinden (municipalities).
// Set a location (Burbank Boulevard, Los Angeles) LatLon Location = new LatLon(34.172167, -118.408671); // Construct an Address.Regions string array String[] RegionsArray = GeoCoder.ReverseGeoCode(Location).Regions; for (int i = 0; i < RegionsArray.Length; i++) { Console.WriteLine("Region name is {0}", RegionsArray[i]); } // Region name is Valley Village // Region name is Los Angeles // Region name is California