Skip to main content

hotspot

TypePartial<HotspotOptions>
Default{}
Added inv4.0.0

The options for hotspots.
Accepts objects of type HotspotOptions as values.

Check out the Guide to find out how to use hotspots.

Example

1
2
3
4
{
hotspot: {
zoom: false
},
projection: new CubemapProjection({
src: [
"/pano/cube/FishermansBastion/posx.jpg",
"/pano/cube/FishermansBastion/negx.jpg",
"/pano/cube/FishermansBastion/posy.jpg",
"/pano/cube/FishermansBastion/negy.jpg",
"/pano/cube/FishermansBastion/posz.jpg",
"/pano/cube/FishermansBastion/negz.jpg"
],
})
}