Upgrade photo sphere viewer to 5.5.0
This commit is contained in:
parent
90d0eacca6
commit
440d4bd83a
6 changed files with 20 additions and 85 deletions
|
@ -17,47 +17,27 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.psv-button.custom-button {
|
||||
font-size: 22px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.demo-label {
|
||||
color: white;
|
||||
font-size: 20px;
|
||||
font-family: Helvetica, sans-serif;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
border: 1px solid white;
|
||||
background: rgba(0,0,0,0.4);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="photosphere"></div>
|
||||
</head>
|
||||
<!-- the viewer container must have a defined size -->
|
||||
<div id="photosphere" style="width: 100vw; height: 100vh;"></div>
|
||||
|
||||
<script src="js/three.min.js"></script>
|
||||
<script src="js/browser.min.js"></script>
|
||||
<script src="js/photo-sphere-viewer.min.js"></script>
|
||||
<script src="js/photo-sphere-viewer-core.min.js"></script>
|
||||
|
||||
<h1>Panorama</h1>>
|
||||
<script>
|
||||
var PSV = new PhotoSphereViewer.Viewer({
|
||||
container: 'photosphere',
|
||||
panorama: 'img',
|
||||
caption: 'Panorama displayed with Photo Sphere Viewer V4.7.1',
|
||||
caption: 'Panorama displayed with Photo Sphere Viewer V5.5.0',
|
||||
defaultZoomLvl: 40,
|
||||
minFov: 5,
|
||||
maxFov: 75,
|
||||
navbar: [
|
||||
'autorotate',
|
||||
'zoom',
|
||||
'caption'
|
||||
]
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue