-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapElements.js
54 lines (51 loc) · 1.47 KB
/
mapElements.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
//mapElements.js:
// Array with sphere coordinates
export const sphereCoordinates = [
{ lat: 43.36029, lon: -8.41158 },
{ lat: 43.37079, lon: -8.43055 },
{ lat: 43.354997, lon: -8.406491 },
{ lat: 42.234073, lon: -8.713954 },
];
// Array for 3D models
export const modelData = [
// Example of a model data
{
id: "model1",
coordinates: { lat: 43.36029, lon: -8.41158 },
modelName: "test.gltf",
materialReference: {
'part1': 'RED',
'part2': 'BLUE',
},
animationReference: {
"part1": "spinY",
"part2": "scaleUpDown"
},
timestamp: new Date().getTime(), // Use actual timestamp as required
},
{
id: "model2",
coordinates: { lat: 43.36059, lon: -8.41168 },
modelName: "chimmy.gltf",
animationReference: {
"cuerpo": "spinY",
"cabeza": "scaleUpDown"
},
timestamp: new Date().getTime(), // Use actual timestamp as required
},
{
id: "model3",
coordinates: { lat: 42.688801800803816, lon: -8.497656875827833 },
modelName: "pene.gltf",
materialReference: {
'Flecha': 'RED',
'Text': 'BLUE',
},
animationReference: {
"Text": "spinY",
"Flecha": "scaleUpDown"
},
timestamp: new Date().getTime(), // Use actual timestamp as required
},
// Add more models as per your requirements
];