RadarAddress represents an address returned from geocoding operations.
Properties
CLLocationCoordinate2D
required
The location coordinate of the address.
string
The formatted string representation of the address.
string
The name of the country of the address.
string
The unique code of the country of the address.
string
The flag of the country of the address.
string
The name of the DMA of the address.
string
The unique code of the DMA of the address.
string
The name of the state of the address.
string
The unique code of the state of the address.
string
The postal code of the address.
string
The city of the address.
string
The borough of the address.
string
The county of the address.
string
The neighborhood of the address.
string
The street number of the address.
string
The street name of the address.
string
The label of the address.
string
The label of the place.
string
The unit of the address.
string
The plus4 value for the zip of the address.
number
The distance to the search anchor in meters.
string
The layer of the address, e.g. ‘place’, ‘address’, ‘intersection’, ‘street’, ‘state’, etc.
object
The metadata of the address.
RadarAddressConfidence
required
The confidence level of the geocoding result.
RadarTimeZone
The time zone information of the address.
string[]
The categories of the address.
Class Methods
addressFromObject
RadarAddress instance from a dictionary object.
Parameters
Any
required
The dictionary object to parse.
Returns
ARadarAddress instance, or nil if the object could not be parsed.
arrayForAddresses
RadarAddress objects to an array of dictionaries.
Parameters
RadarAddress[]
The array of addresses to convert.