We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89862ac commit d087bc7Copy full SHA for d087bc7
locatesonde.html
@@ -64,11 +64,10 @@
64
alert(camAltitude);
65
points.forEach((point) => {
66
let model = document.createElement('a-entity');
67
- model.setAttribute('gps-new-entity-place', `latitude: ${point.location.lat}; longitude: ${point.location.lng};`);
+ model.setAttribute('gps-entity-place', `latitude: ${point.location.lat}; longitude: ${point.location.lng};`);
68
model.setAttribute('geometry', 'primitive: sphere');
69
model.setAttribute('material', `color: ${point.color}`);
70
model.setAttribute('position', `0 ${point.location.alt - camAltitude} 0`);
71
- model.setAttribute('rotation', '0 90 0');
72
model.setAttribute('scale', '10 10 10');
73
model.setAttribute('look-at', '[gps-new-camera]');
74
0 commit comments