MGLPointAnnotation
@interface MGLPointAnnotation : MGLShape
The MGLPointAnnotation
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.
-
The coordinate point of the annotation, specified as a latitude and longitude.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CLLocationCoordinate2D coordinate;