diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-23 10:35:59 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-23 10:35:59 -0700 |
commit | 3e22369f27ba4a0b1273c8934bfb0f59d9aa96c5 (patch) | |
tree | 9f0faeb5af456dc559b48d114883b2f6771400ba /platform/darwin/src/MGLPointAnnotation.h | |
parent | 2d32336a41dac77b6182642b7067a23add12eb09 (diff) | |
download | qtlocation-mapboxgl-3e22369f27ba4a0b1273c8934bfb0f59d9aa96c5.tar.gz |
[ios, osx] Eliminated platform/{ios,osx}/include
Also updated various project references to be group-relative, so Xcode chooses the right directory by default when adding a new file.
Fixes #4770.
Diffstat (limited to 'platform/darwin/src/MGLPointAnnotation.h')
-rw-r--r-- | platform/darwin/src/MGLPointAnnotation.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLPointAnnotation.h b/platform/darwin/src/MGLPointAnnotation.h new file mode 100644 index 0000000000..d186cbff18 --- /dev/null +++ b/platform/darwin/src/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 |