Class

MKPlacemark

A user-friendly description of a location on the map.

Declaration

@interface MKPlacemark : CLPlacemark

Overview

Placemark data includes information such as the country, state, city, and street address associated with the specified coordinate. A placemark is a concrete annotation object and conforms to the MKAnnotation protocol. Because it is an annotation, you can add a placemark directly to the map view's list of annotations.

Topics

Creating a Placemark Object

- initWithCoordinate:

Initializes and returns a placemark object using the specified coordinate.

- initWithCoordinate:postalAddress:

Initializes and returns a placemark object with the specified coordinate and postal address from the user's Contacts database.

- initWithCoordinate:addressDictionary:

Initializes and returns a placemark object using the specified coordinate and Address Book dictionary.

Accessing the Placemark Attributes

countryCode

The abbreviated country name.

Relationships

Inherits From

Conforms To

See Also

Annotations and Overlays

MKAnnotation

An interface for associating your content with a specific map location.

MKAnnotationView

The visual representation of one of your annotation objects.

MKOverlay

An interface for associating content with a specific map region.

MKOverlayRenderer

The shared infrastructure used to draw overlays on the map surface.

MapKit Annotations

Use these annotation objects as-is in your maps.

MapKit Overlays

Use these overlays as-is in your maps.