[ios, macos] Exclude MGLUserTrackingMode from macOS
This commit is contained in:
committed by
Nadia Barbosa
parent
1f1cc131ea
commit
4d058ffd94
@@ -44,21 +44,6 @@ typedef NS_ENUM(NSInteger, MGLErrorCode) {
|
||||
MGLErrorCodeConnectionFailed = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
The mode used to track the user location on the map. Used with
|
||||
`MGLMapView.userTrackingMode`.
|
||||
*/
|
||||
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,
|
||||
/** The map follows the user location and rotates when the course changes. */
|
||||
MGLUserTrackingModeFollowWithCourse,
|
||||
};
|
||||
|
||||
/** Options for enabling debugging features in an `MGLMapView` instance. */
|
||||
typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
|
||||
/** Edges of tile boundaries are shown as thick, red lines to help diagnose
|
||||
|
||||
@@ -44,6 +44,21 @@ typedef NS_ENUM(NSUInteger, MGLAnnotationVerticalAlignment) {
|
||||
MGLAnnotationVerticalAlignmentBottom,
|
||||
};
|
||||
|
||||
/**
|
||||
The mode used to track the user location on the map. Used with
|
||||
`MGLMapView.userTrackingMode`.
|
||||
*/
|
||||
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,
|
||||
/** The map follows the user location and rotates when the course changes. */
|
||||
MGLUserTrackingModeFollowWithCourse,
|
||||
};
|
||||
|
||||
/**
|
||||
An interactive, customizable map view with an interface similar to the one
|
||||
provided by Apple’s MapKit.
|
||||
|
||||
Reference in New Issue
Block a user