@@ -10,6 +10,8 @@ extern NSString *const MGLEventKeyLongitude;
|
||||
extern NSString *const MGLEventKeyZoomLevel;
|
||||
extern NSString *const MGLEventKeySpeed;
|
||||
extern NSString *const MGLEventKeyCourse;
|
||||
extern NSString *const MGLEventKeyAltitude;
|
||||
extern NSString *const MGLEventKeyVerticalAccuracy;
|
||||
extern NSString *const MGLEventKeyPushEnabled;
|
||||
extern NSString *const MGLEventKeyEmailEnabled;
|
||||
extern NSString *const MGLEventKeyGestureID;
|
||||
|
||||
@@ -23,6 +23,8 @@ NSString *const MGLEventKeyLongitude = @"lng";
|
||||
NSString *const MGLEventKeyZoomLevel = @"zoom";
|
||||
NSString *const MGLEventKeySpeed = @"speed";
|
||||
NSString *const MGLEventKeyCourse = @"course";
|
||||
NSString *const MGLEventKeyAltitude = @"altitude";
|
||||
NSString *const MGLEventKeyVerticalAccuracy = @"verticalAccuracy";
|
||||
NSString *const MGLEventKeyPushEnabled = @"enabled.push";
|
||||
NSString *const MGLEventKeyEmailEnabled = @"enabled.email";
|
||||
NSString *const MGLEventKeyGestureID = @"gesture";
|
||||
|
||||
@@ -45,7 +45,9 @@
|
||||
MGLEventKeyLatitude: @(loc.coordinate.latitude),
|
||||
MGLEventKeyLongitude: @(loc.coordinate.longitude),
|
||||
MGLEventKeySpeed: @(loc.speed),
|
||||
MGLEventKeyCourse: @(loc.course)
|
||||
MGLEventKeyCourse: @(loc.course),
|
||||
MGLEventKeyAltitude: @(loc.altitude),
|
||||
MGLEventKeyVerticalAccuracy: @(loc.verticalAccuracy)
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user