diff options
Diffstat (limited to 'include/mbgl/ios/MGLTypes.h')
-rw-r--r-- | include/mbgl/ios/MGLTypes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLTypes.h b/include/mbgl/ios/MGLTypes.h new file mode 100644 index 0000000000..4c2e58b24b --- /dev/null +++ b/include/mbgl/ios/MGLTypes.h @@ -0,0 +1,9 @@ +#import <Foundation/Foundation.h> + +/// The degree to which the map view tracks the user’s location. +typedef NS_ENUM(NSUInteger, MGLUserTrackingMode) +{ + MGLUserTrackingModeNone = 0, ///< does not track the user’s location or heading + MGLUserTrackingModeFollow = 1, ///< tracks the user’s location + MGLUserTrackingModeFollowWithHeading = 2, ///< tracks the user’s location and heading +}; |