IStructuredAddressData Interface |
Namespace: Telogis.GeoBase.Addresses
The IStructuredAddressData type exposes the following members.
Name | Description | |
---|---|---|
Building |
Gets Building name.
| |
City |
Gets the city name.
| |
Country |
Gets the Country country of the address.
(Inherited from IAddressData.) | |
County |
Gets the county name.
| |
Fields |
Returns a list of field names that can be accessed on this IAddressData.
(Inherited from IAddressData.) | |
JSONName |
Gets the JSONName of the object.
(Inherited from IJSONSerializable.) | |
LocalizedUnits |
Gets the units types and numbers as a preformatted string.
| |
Location |
Gets the LatLon location of the address.
(Inherited from IAddressData.) | |
MaxStreetNumber |
Gets the maximum house number on this street.
| |
MinStreetNumber |
Gets the minimum house number on this street.
| |
PostCode |
Gets the postcode.
| |
Regions |
Gets the region names.
| |
State |
Gets the state name.
| |
StreetNames |
Gets all of the names of this street.
The primary street name is the first element of the array.
| |
StreetNumber |
Gets the street number.
| |
Subregions |
Gets the subregion names.
| |
Suburb |
Gets the suburb name.
| |
Unit | Obsolete.
Gets the unit number as a string.
| |
Units |
Gets the unit types and corresponding unit numbers as AddressUnit objects. E.g. "Floor 2, Building 3".
|
Name | Description | |
---|---|---|
FromJSON |
Initializes an object from its corresponding JSONObject source data.
(Inherited from IJSONSerializable.) | |
GetT |
Gets the value from the specified fieldName.
(Inherited from IAddressData.) | |
GetOtherCulture |
Gets this IStructuredAddressData with a different culture.
| |
ToJSON |
Gets the JSONObject representation of the object.
(Inherited from IJSONSerializable.) |
DrillDownGeoCoder geocoder = new DrillDownGeoCoder(Country.USA); RegionSearchResult result = geocoder.GetRegions(0, "California"); result = result.Results[0].GetRegions(1, "Los Angeles"); StreetSearchResult streetsResult = result.Results[0].GetStreets("Banson St"); IGeocodeResult geocodeAddress = streetsResult.Results[0].ToGeocodeResult(); IStructuredAddressData foundAddress = geocodeAddress.FoundAddress; IStructuredAddressData rawAddress = geocodeAddress.RawAddress;