summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/MGLTypes.h
blob: 0d7ae5f6d1cea6e93971a657c9a0529083e45d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#import <Foundation/Foundation.h>

// style property value types
//
extern NSString *const MGLStyleValueTypeBoolean;
extern NSString *const MGLStyleValueTypeNumber;
extern NSString *const MGLStyleValueTypeNumberPair;
extern NSString *const MGLStyleValueTypeColor;
extern NSString *const MGLStyleValueTypeString;

// style property function types
//
extern NSString *const MGLStyleValueTypeFunctionMinimumZoom;
extern NSString *const MGLStyleValueTypeFunctionMaximumZoom;
extern NSString *const MGLStyleValueTypeFunctionLinear;
extern NSString *const MGLStyleValueTypeFunctionExponential;
extern NSString *const MGLStyleValueTypeFunctionStops;

/// 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
};