████████╗ ██████╗ ██╗ ██╗██████╗ ██████╗ ██╗ ██╗██╗██╗ ██████╗ ███████╗██████╗
╚══██╔══╝██╔═══██╗██║ ██║██╔══██╗██╔══██╗██║ ██║██║██║ ██╔══██╗██╔════╝██╔══██╗
██║ ██║ ██║██║ ██║██████╔╝██████╔╝██║ ██║██║██║ ██║ ██║█████╗ ██████╔╝
██║ ██║ ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██║██║ ██║ ██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚██████╔╝██║ ██║██████╔╝╚██████╔╝██║███████╗██████╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝
A client library used to load the TourBuilder viewer
Load TourBuilder by referencing the latest minified version served from our CDN.
<script src="//static.tourbuilder.com/scripts/tourbuilder.min.js"></script>Call the createViewer method after loading the TourBuilder library, passing in an id of the container you want to load the tour into and the tour id that you want to load. Note, your domain(s) will need to be whitelisted for the tours you are attempting to load.
<div id="pano"></div>
<script src="//static.tourbuilder.com/scripts/tourbuilder.min.js"></script>
<script>
TOURBUILDER.createViewer({
id: 'pano',
tour: '1234567890'
});
</script>Some optional CSS to make your container fluid
#pano {
width: 100%;
height: 70%;
max-height: 500px;
max-width: 700px;
}make dev
# Open localhost:8080 in your browser
# Customize dev.html for your needs