Skip to main content
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

Creates a RadarAddress instance from a dictionary object.

Parameters

Any
required
The dictionary object to parse.

Returns

A RadarAddress instance, or nil if the object could not be parsed.

arrayForAddresses

Converts an array of RadarAddress objects to an array of dictionaries.

Parameters

RadarAddress[]
The array of addresses to convert.

Returns

An array of dictionaries representing the addresses.

Instance Methods

dictionaryValue

Converts the address to a dictionary representation.

Returns

A dictionary representation of the address.

See Also