MGLUserTrackingMode
enum MGLUserTrackingMode : NSUInteger {}
The mode used to track the user location on the map. Used with
MGLMapView.userTrackingMode.
-
The map does not follow the user location.
Declaration
Objective-C
MGLUserTrackingModeNone = 0Swift
case none = 0 -
The map follows the user location.
Declaration
Objective-C
MGLUserTrackingModeFollowSwift
case follow = 1 -
The map follows the user location and rotates when the heading changes.
Declaration
Objective-C
MGLUserTrackingModeFollowWithHeadingSwift
case followWithHeading = 2 -
The map follows the user location and rotates when the course changes.
Declaration
Objective-C
MGLUserTrackingModeFollowWithCourseSwift
case followWithCourse = 3
Install in Dash
MGLUserTrackingMode Enum Reference