summaryrefslogtreecommitdiff
path: root/test/ios/LocationMocker/LocationMocker.h
blob: 14f1dea75f46f7c6f41cd82d815789f7c74e4bb6 (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
//
// Based on gist by Eric Allam
// https://gist.github.com/ericallam/5689235
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

// lat and long of the mocked current location (Mapbox San Francisco)
static const CLLocationDegrees kMockedLatitude = 37.775716;
static const CLLocationDegrees kMockedLongitude = -122.413688;

// heading (values pulled from south-facing device)
static const double kMockedHeadingAccuracy = 20.0;
static const double kMockedHeadingTrueHeading = 170.53;
static const double kMockedHeadingMagneticHeading = 154.83;
static const double kMockedHeadingX = -7.079;
static const double kMockedHeadingY = -16.548;
static const double kMockedHeadingZ = -44.194;

@interface LocationMocker : NSObject

+ (void)load;

@end