IOneLineAddressData Interface |
Namespace: Telogis.GeoBase.Addresses
The IOneLineAddressData type exposes the following members.
Name | Description | |
---|---|---|
Country |
Gets the Country country of the address.
(Inherited from IAddressData.) | |
Fields |
Returns a list of field names that can be accessed on this IAddressData.
(Inherited from IAddressData.) | |
FullAddress |
Gets the entire address string.
| |
JSONName |
Gets the JSONName of the object.
(Inherited from IJSONSerializable.) | |
Location |
Gets the LatLon location of the address.
(Inherited from IAddressData.) |
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.) | |
ToJSON |
Gets the JSONObject representation of the object.
(Inherited from IJSONSerializable.) |
GeocodeAddress[] address = GeoCoder.GeoCode("5537 Pine Crest Dr, Happy Jack, Coconina, Arizona, 86024", Country.USA); IGeocodeResult result = address[0].ToGeocodeResult(); IOneLineAddressData rawAddress = result.RawAddress as IOneLineAddressData; string fullAddress = rawAddress.FullAddress; Country country = rawAddress.Country; LatLon location = rawAddress.Location; IStructuredAddressData foundAddress = result.FoundAddress;