I've started looking at AR.js with A-frame. I've adapted this example https://ar-js-org.github.io/AR.js-Docs/location-based-tutorial/
and was just playing around. I copied the code from this example and get a red box on my device as its planned.
my issue now is that the placed box always follows the camera. But i want to lock it in place. Give this objet an position based on lat/lon and lock it in place. So that i can move away from the object like in the real world
<html>
<head>
<title>AR.js Basic Projected Camera Example</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
<!-- Look-at component. We don't need this now, but we will later. -->
<script src="https://unpkg.com/aframe-look-at-component@0.8.0/dist/aframe-look-at-component.min.js"></script>
</head>
<body>
<a-scene
vr-mode-ui="enabled: false"
arjs='sourceType: webcam; videoTexture: true; debugUIEnabled: false;'
renderer='antialias: true; alpha: true'>
<a-camera gps-projected-camera rotation-reader></a-camera>
<a-box gps-projected-entity-place='latitude: your-lat; longitude: your-lon' material='color: red' scale='10 10 10'></a-box>
</a-scene>
</body>