MKPointAnnotation Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/MapKit.framework
Availability
Available in iOS 4.0 and later.
Companion guide
Declared in
MKPointAnnotation.h
Related sample code

Overview

The MKPointAnnotation class defines a concrete annotation object located at a specified point. You can use this class, rather than define your own, in situations where all you want to do is associate a point on the map with a title.

Tasks

Accessing the Annotation’s Location

Properties

coordinate

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

@property (nonatomic, assign) CLLocationCoordinate2D coordinate
Availability
  • Available in iOS 4.0 and later.
Related Sample Code
Declared In
MKPointAnnotation.h