#1268 - Adding horizontalAccuracy to location event
This commit is contained in:
@@ -11,6 +11,7 @@ extern NSString *const MGLEventKeyZoomLevel;
|
||||
extern NSString *const MGLEventKeySpeed;
|
||||
extern NSString *const MGLEventKeyCourse;
|
||||
extern NSString *const MGLEventKeyAltitude;
|
||||
extern NSString *const MGLEventKeyHorizontalAccuracy;
|
||||
extern NSString *const MGLEventKeyVerticalAccuracy;
|
||||
extern NSString *const MGLEventKeyPushEnabled;
|
||||
extern NSString *const MGLEventKeyEmailEnabled;
|
||||
|
||||
@@ -24,6 +24,7 @@ NSString *const MGLEventKeyZoomLevel = @"zoom";
|
||||
NSString *const MGLEventKeySpeed = @"speed";
|
||||
NSString *const MGLEventKeyCourse = @"course";
|
||||
NSString *const MGLEventKeyAltitude = @"altitude";
|
||||
NSString *const MGLEventKeyHorizontalAccuracy = @"horizontalAccuracy";
|
||||
NSString *const MGLEventKeyVerticalAccuracy = @"verticalAccuracy";
|
||||
NSString *const MGLEventKeyPushEnabled = @"enabled.push";
|
||||
NSString *const MGLEventKeyEmailEnabled = @"enabled.email";
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
MGLEventKeySpeed: @(loc.speed),
|
||||
MGLEventKeyCourse: @(loc.course),
|
||||
MGLEventKeyAltitude: @(loc.altitude),
|
||||
MGLEventKeyHorizontalAccuracy: @(loc.horizontalAccuracy),
|
||||
MGLEventKeyVerticalAccuracy: @(loc.verticalAccuracy)
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user