- 0 Downloads
- 17 Views
- Download Now View Demo
- HTML
- JavaScript
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>A Pen by egjs</title>
</head>
<body>
<div id="myPanoViewer"></div>
<script src="js/index.js"></script>
</body>
</html>
/*Downloaded from https://www.codeseek.co/egjs/a-pen-by-egjs-qpRxgM */
var PanoViewer = eg.view360.PanoViewer;
// create PanoViewer with option
const panoViewer = new PanoViewer(
document.getElementById("myPanoViewer"),{
image: "/path/to/image/image.jpg"
}
);