-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.js
22 lines (15 loc) · 895 Bytes
/
globals.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const MIN_WINNING_DISTANCE = 5;
export const MAX_WINNING_DISTANCE = 50;
export const WINNING_DISTANCE_STEP = 5;
export const MIN_COURSE_LENGTH_IN_KM = .5;
export const MAX_COURSE_LENGTH_IN_KM = 10;
export const MAX_CONTROLS = 30;
export const startingLocation = { latitude: 39.975600, longitude: -82.960500 };
export const startingControls = [{ latitude: 39.9757, longitude: -82.9606 }, { latitude: 39.9758, longitude: -82.96050 }, { latitude: 39.975700, longitude: -82.9607 }];
export const minimumControlSpacingInMeters = 106.68;
export const minimumConsecutiveLegAngleInDegrees = 30;
export const LATITUDE = 0;
export const LONGITUDE = 0;
// 116423, 51613, 17
export const OVERLAY_TOP_LEFT_COORDINATE = [startingLocation.latitude, startingLocation.longitude];
export const OVERLAY_BOTTOM_RIGHT_COORDINATE = [startingLocation.latitude + .002, startingLocation.longitude + .002];