Structure

Place

A place object returned from a geocoder lookup or reverse lookup.

Declaration

dictionary Place {
    String name;
    mapkit.Coordinate coordinate;
    String formattedAddress;
    mapkit.CoordinateRegion region;
    String countryCode;
};

Overview

Place objects are returned in the results array of a GeocoderResponse.

Topics

Place Name and Address

name

The name of the place.

formattedAddress

The address of the place, formatted using its country's conventions.

countryCode

The country code associated with the place.

Location

coordinate

The latitude and longitude for the place.

region

The geographic region associated with the place.

See Also

Getting Geocoder Results

lookup

Converts an address to geographic coordinates.

GeocoderLookupOptions

Options that constrain geocoder lookup results to a specific area or set a language for results.

reverseLookup

Converts a geographic coordinate to an address.

GeocoderReverseLookupOptions

An option that constrains reverse lookup results to a specific language.

GeocoderResponse

The response from a geocoder lookup or reverse lookup.