summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLAnnotationView.h
diff options
context:
space:
mode:
authorfrederoni <bjorn.fredrik.karlsson@gmail.com>2016-05-18 17:03:08 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-05-18 17:03:08 -0700
commita220efcae6b98c86aaa7522f087acf5a2d0bc4c4 (patch)
tree253280377fcee47c89344882667c406dd9d9040d /platform/ios/src/MGLAnnotationView.h
parent5fe43e43f2ad8b4ef04ff2dee0788c4f5cd9e3cf (diff)
downloadqtlocation-mapboxgl-a220efcae6b98c86aaa7522f087acf5a2d0bc4c4.tar.gz
[ios] Allow annotation views to be flattened (#5067)
* [ios] wip flatten annotation view * [ios] wip flatten annotation view * [ios] naming conventions * [ios] removed unused property
Diffstat (limited to 'platform/ios/src/MGLAnnotationView.h')
-rw-r--r--platform/ios/src/MGLAnnotationView.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/ios/src/MGLAnnotationView.h b/platform/ios/src/MGLAnnotationView.h
index 4d267636d1..0762286b02 100644
--- a/platform/ios/src/MGLAnnotationView.h
+++ b/platform/ios/src/MGLAnnotationView.h
@@ -36,6 +36,12 @@ NS_ASSUME_NONNULL_BEGIN
/**
+ Setting this property to YES will force the annotation view to tilt according to the associated map view.
+ */
+@property (nonatomic, assign, getter=isFlat) BOOL flat;
+
+
+/**
Called when the view is removed from the reuse queue.
The default implementation of this method does nothing. You can override it in your custom annotation views and use it to put the view