MapLocationAddress Class

Contains address data for a specific location returned from a geocoding request.

Properties

FormattedAddress

Specifies the address in a local format. This address may not include the country or region.

Example: 1 Microsoft Way, Redmond, WA 98052-8300

Android

String getFormattedAddress()

iOS

@property (nonatomic, readonly) NSString* formattedAddress

AddressLine

Specifies the address line for the address.

Example: 1 Microsoft Way

Android

String getAddressLine()

iOS

@property (nonatomic, readonly) NSString* addressLine

Neighborhood

Specifies the neighborhood for the address.

Example: Ballard

Android

String getNeighborhood()

iOS

@property (nonatomic, readonly) NSString* neighborhood

Locality

Specifies the locality for the address.

Example: Seattle

Android

String getLocality()

iOS

@property (nonatomic, readonly) NSString* locality

AdminDistrict

Specifies the administrative district for the address.

Example: WA

Android

String getAdminDistrict()

iOS

@property (nonatomic, readonly) NSString* adminDistrict

AdminDistrict2

Specifies the second level administrative district for the address.

Example: King Co.

Android

String getAdminDistrict2()

iOS

@property (nonatomic, readonly) NSString* adminDistrict2

PostalCode

Specifies the postal code for the address.

Example: 98052

Android

String getPostalCode()

iOS

@property (nonatomic, readonly) NSString* postalCode

CountryRegion

Specifies the country/region for the address.

Example: United States

Android

String getCountryRegion()

iOS

@property (nonatomic, readonly) NSString* countryRegion

CountryCode

Specifies the two-letter ISO country code for the address.

Example: US

Android

String getCountryCode()

iOS

@property (nonatomic, readonly) NSString* countryCode

Landmark

Specifies the landmark name for the address.

Example: Space Needle

Android

String getLandmark()

iOS

@property (nonatomic, readonly) NSString* landmark

See Also