summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/MGLTypes.h
blob: 9a393b2fd4b4eab440cf607f6382fe07851d7bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <Foundation/Foundation.h>

/** The mode used to track the user location on the map. */
typedef NS_ENUM(NSUInteger, MGLUserTrackingMode)
{
    /** The map does not follow the user location. */
    MGLUserTrackingModeNone              = 0,
    /** The map follows the user location. */
    MGLUserTrackingModeFollow,
    /** The map follows the user location and rotates when the heading changes. */
    MGLUserTrackingModeFollowWithHeading
};