Class

MKPointAnnotation

A concrete annotation object tied to the specified point on the map.

Declaration

class MKPointAnnotation : MKShape

Overview

You use this class, rather than define a custom annotation object, in situations where all you want to do is display a title string at the specified point on the map.

Topics

Accessing the Annotation’s Location

var coordinate: CLLocationCoordinate2D

The coordinate point of the annotation, specified as a latitude and longitude.

Initializers

Relationships

Inherits From

See Also

Point-Based Location

Annotating a Map with Custom Data

Annotate a map with location-specific data using default and customized annotation views and callouts.

class MKMarkerAnnotationView

An annotation view that displays a balloon-shaped marker at the designated location.

class MKPinAnnotationView

An annotation view that displays a pin image on the map.