diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2019-07-11 16:06:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 16:06:54 -0700 |
commit | 5b488225fb720ef607c13a33ff6509d92bb7de95 (patch) | |
tree | 6b3f61c1d27110fb3f4bd2ea51e4be5697443c22 /platform/darwin | |
parent | de71ff5102987d66ce7578216b32ae13ecf9622f (diff) | |
download | qtlocation-mapboxgl-5b488225fb720ef607c13a33ff6509d92bb7de95.tar.gz |
[ios] Add MGLCompassButton and MGLOrnamentVisibility
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/src/MGLTypes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h index 491e24310f..b8354d2e83 100644 --- a/platform/darwin/src/MGLTypes.h +++ b/platform/darwin/src/MGLTypes.h @@ -119,4 +119,16 @@ NS_INLINE MGLTransition MGLTransitionMake(NSTimeInterval duration, NSTimeInterva return transition; } +/** + Constants indicating the visibility of different map ornaments. + */ +typedef NS_ENUM(NSInteger, MGLOrnamentVisibility) { + /** A constant indicating that the ornament adapts to the current map state. */ + MGLOrnamentVisibilityAdaptive, + /** A constant indicating that the ornament is always hidden. */ + MGLOrnamentVisibilityHidden, + /** A constant indicating that the ornament is always visible. */ + MGLOrnamentVisibilityVisible +}; + NS_ASSUME_NONNULL_END |