This repository has been archived by the owner on Jul 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
location.js
89 lines (87 loc) · 1.77 KB
/
location.js
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
const Location = {
airport: {
width: 1.76,
height: 0.5,
translate: [{ translate: [3, 2 - 1.3, -8] }],
image: 'tags/airport.png',
id: 1
},
hotel: {
width: 1.82,
height: 0.5,
translate: [{ translate: [-10, 2.3 - 1.8, -1.2] }],
image: 'tags/hotel.png',
id: 2
},
castle: {
width: 1.76,
height: 0.5,
translate: [{ translate: [-1, 6.2 - 1.7, -8] }],
image: 'tags/castle.png',
id: 3
},
family: {
width: 1.76,
height: 0.5,
translate: [{ translate: [-3, 6.95 - 1.8, -8] }],
image: 'tags/family.png',
id: 4
},
royal: {
width: 1.76,
height: 0.5,
translate: [{ translate: [6, 2.8 - 1.8, 5] }],
image: 'tags/royal.png',
id: 5
},
scotland: {
width: 3,
height: 0.5,
translate: [{ translate: [6.5, 4 - 1.4, -3] }],
image: 'tags/scotland.png',
id: 6
},
shopping: {
width: 1.76,
height: 0.5,
translate: [{ translate: [2, 5.7 - 1.8, -8] }],
image: 'tags/shopping.png',
id: 7
},
harry: {
width: 3,
height: 0.77,
translate: [{ translate: [-8.8, 8.6 - 2, -8] }],
image: 'tags/harry.png',
id: 8
},
university: {
width: 1.76,
height: 0.5,
translate: [{ translate: [-7.6, 7.5 - 1.8, -7] }],
image: 'tags/university.png',
id: 9
},
green: {
width: 1.76,
height: 0.5,
translate: [{ translate: [-5, 7.9 - 1.8, -8] }],
image: 'tags/green.png',
id: 10
},
culture: {
width: 2.14,
height: 0.5,
translate: [{ translate: [0, 4.3 - 1.6, -8] }],
image: 'tags/culture.png',
id: 11
}
}
function TagInfo(width, height, translate, image, id) {
this.width = width;
this.height = height;
this.translate = translate;
this.image = image;
this.id = id;
}
export default Location;