Skip to content

Commit 9c1fd41

Browse files
author
Colin McFadden
committed
updates documentation and adds built copy
1 parent 02f73b2 commit 9c1fd41

File tree

4 files changed

+41
-9
lines changed

4 files changed

+41
-9
lines changed

aframe/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ In addition to that, as you can see on the example above, we also have to add `r
6969
| alert | Whether to show a message when GPS signal is under the `positionMinAccuracy` | false | | true |
7070
| positionMinAccuracy | Minimum accuracy allowed for position signal | 100 |
7171
| minDistance | If set, places with a distance from the user lower than this value, are not showed. Only a positive value is allowed. Value is in meters. | 0 (disabled) |
72+
| simulateLatitude | Setting this allows you to simulate the latitude of the camera, to aid in testing. | 0 (disabled) |
73+
| simulateLongitude | Setting this allows you to simulate the longitude of the camera, to aid in testing. | 0 (disabled) |
74+
| simulateAltitude | Setting this allows you to simulate the altitude of the camera in meters above sea level, to aid in testing. | 0 (disabled) |
7275

7376
### `gps-entity-place`
7477

@@ -83,6 +86,8 @@ It requires latitude and longitude as a single string parameter (example with `a
8386
<a-box color="yellow" gps-entity-place="latitude: <your-latitude>; longitude: <your-longitude>"/>
8487
```
8588

89+
You may optionally add an `altitude` parameter, specified in meters above sea level.
90+
8691
### `gps-camera-debug`
8792

8893
**Required**: no

aframe/build/aframe-ar.js

Lines changed: 35 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aframe/build/aframe-ar.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aframe/src/location-based/gps-camera.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ AFRAME.registerComponent('gps-camera', {
3939
this.loader = document.createElement('DIV');
4040
this.loader.classList.add('arjs-loader');
4141
document.body.appendChild(this.loader);
42-
console.log(this.data);
4342
window.addEventListener('gps-entity-place-added', function() {
4443
// if places are added after camera initialization is finished
4544
if (this.originCoords) {

0 commit comments

Comments
 (0)