VR Viewer
Default has "auto rotation", "change animation", "cubemap"
Arguments
import 'vrviewer'
VRViewer.init({
el: '#vrviewer-sdk',
lang: 'zh-cn',
panoCollection: fakePanoCollection,
panoramas: fakePanoramas,
setting: {
autoRotateSetting: {
active: true,
revert: false,
rotateDuration: 200000,
restartTime: 20000
},
gyroSetting: {
active: false
},
krpanoSetting: {
mwheel: true,
focus: false
},
tripodSetting: {
image: 'https://www.istaging.com/sdk/logo-tripod.png',
size: 60
},
hideUISetting: {
hideCollectionInfo: false,
hidePanoramaList: false,
hideFloorplan: false,
hideFullscreen: false,
hideLoading: true,
hideMarkerInfo: false
},
shareSetting: {
shareUrl: 'https://www.istaging.com/'
}
}
})Example
destroy
Example
onTogglePanoramasList
Example
Last updated