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


class MKPointAnnotation : MKShape


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.


Accessing the Annotation’s Location

var coordinate: CLLocationCoordinate2D

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




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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software