0.2.0 • Published 2 years ago
@pointerra/pointerra-bootstrap v0.2.0
Pointerra client bootstrap
This is the bootstrap script to load the Pointerra 3d viewer.
You'll need a Pointerra account with API access to load any data.
Quickstart:
<!-- Include the script in your HTML file -->
<script src="node_modules/@pointerra/pointerra-bootstrap/dist/browser.js" />
<!-- Add a target div -->
<div id="viewer" style="width: 800px; height: 600px;"></div>
<!-- Load the client. For a working example, you'll also need to provide a point cloud ID as well. -->
<script>
pointerra.loadClient({
targetElement: "#pointerra-viewer",
pointerraAccessToken: "(YOUR API KEY HERE)",
});
</script>
More information is available at Pointerra API examples.
Release notes
0.2.0 (27 January 2022)
- Adds
loadPanoViewer
andloadPanoViewerScripts
.
- Adds
0.1.0 (29 June 2020)
- Breaking change:
initClient
has moved underneath the rootpointerra
object for UMD builds, to match the behaviour in browsers. - Fixes issues with plugin stubs not being published correctly.
- Breaking change:
0.0.3 (20 May 2020)
- Initial release