Nick Whitelegg
Nick Whitelegg
@jonnypage OK thanks for this. Probably my misunderstanding of exactly how `maximumAge` works, apologies for this. Will try and fix this at some point, there may be a bit of...
One issue us (the developers) have at the moment is a lack of iPhone devices, though I believe @kalwalt is trying to obtain one. Essentially Safari on iOS has a...
Also you might want to look at issue #412, we are developing a new location based API in which you might have more success.
@archimedo best thing to do is check out the `new-aframe-location-based` branch. For example: ``` git clone https://github.com/AR-js-org/AR.js/git --branch new-aframe-location-based --single-branch cd aframe/examples/new-location-based ``` and run a server from there. Try...
Looks good, thanks! Agree about using a div being better than an alert. I note you repeat the same code twice, could you put that in a function? Thanks.
Just to add to this, there are three functions in `gps-camera` and `gps-projected-camera` which I am not sure the reason for, and which might possibly be causing problems: ``` _onDeviceOrientation()...
Another update: I tried removing the three methods in the last post; they are necessary as the augmented content is completely out of sync with the real world if they...
Starting to get to the bottom of this I think. The problem is that we cannot rely on the `alpha` property of `DeviceOrientationEvent` - see [here](https://developer.mozilla.org/en-US/docs/Web/Events/Detecting_device_orientation) - actually returning a...
The fun continues... Looks like we can solve this reliably on Chrome, and also possibly Safari, using the `deviceorientationabsolute` event, and `webkitCompassHeading` respectively. Though strangely, Chrome seems to work anyway...
I'm wondering whether, sadly, it is currently impossible to do this on Firefox. It seems that the `Accelerometer`, `Magnetometer` and `AbsoluteOrientationSensor` APIs are not available on Firefox. https://developer.mozilla.org/en-US/docs/Web/API/Magnetometer https://developer.mozilla.org/en-US/docs/Web/API/Accelerometer https://developer.mozilla.org/en-US/docs/Web/API/AbsoluteOrientationSensor...