summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/MGLPointAnnotation.h
blob: d3d1a8f0e9a92704b1b0f948209b192a4d3bb7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

#import "MGLShape.h"

/** 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. */
@interface MGLPointAnnotation : MGLShape

/** The coordinate point of the annotation, specified as a latitude and longitude. */
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@end