new KanKan({
scene: {
// 点位透明度
markerOpacity: 1,
// 自定义点位图标
markerURL: 'https://xxxx.com/xx.png',
},
})
new KanKan({
vr: {
markerHeight: 1,
},
})
new KanKan({
tag: {
// 所有模式下显示
showIn: 'all',
// 只在平面图下显示
showIn: 'floorplan',
// 漫游模式和平面图中都显示
showIn: 'panorama,floorplan',
// 等同于all
showIn: 'panorama,floorplan,dollhouse',
},
})
?> 默认在只在漫游模式下显示
new KanKan({
view: true,
})
?> 模式分为展示模式和编辑模式,默认为展示模式
new KanKan({
useShortcutKeys: true,
})
?> 默认值:false