diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-06-15 18:30:39 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-06-15 18:30:39 -0700 |
commit | bd0bf294bf1e350b184e54a824430c911dd66b9b (patch) | |
tree | d7c643cf197a8263fb1880ce73d034da253efe4c /include/mbgl/ios/MGLPointAnnotation.h | |
parent | e75e538ddbb1dad0baad02576df86f6b8eb1510f (diff) | |
download | qtlocation-mapboxgl-bd0bf294bf1e350b184e54a824430c911dd66b9b.tar.gz |
squash of #1655: shape annotations support for core & iOS
Diffstat (limited to 'include/mbgl/ios/MGLPointAnnotation.h')
-rw-r--r-- | include/mbgl/ios/MGLPointAnnotation.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLPointAnnotation.h b/include/mbgl/ios/MGLPointAnnotation.h new file mode 100644 index 0000000000..d3d1a8f0e9 --- /dev/null +++ b/include/mbgl/ios/MGLPointAnnotation.h @@ -0,0 +1,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 |