summaryrefslogtreecommitdiff
path: root/platform/darwin/include/MGLPointAnnotation.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/include/MGLPointAnnotation.h')
-rw-r--r--platform/darwin/include/MGLPointAnnotation.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/darwin/include/MGLPointAnnotation.h b/platform/darwin/include/MGLPointAnnotation.h
new file mode 100644
index 0000000000..d186cbff18
--- /dev/null
+++ b/platform/darwin/include/MGLPointAnnotation.h
@@ -0,0 +1,18 @@
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CoreLocation.h>
+
+#import "MGLShape.h"
+
+#import "MGLTypes.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+/** 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
+
+NS_ASSUME_NONNULL_END