initialZoom
The initial zoom value.
The area shown will be enlarged by zoom * 100%
.
For example, zoom: 2
magnifies the image by 200% horizontally.
Value must be within the range of zoomRange.
Example
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
initialZoom: 2,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
initialZoom: 0.3,
zoomRange: {
min: 0.3,
max: 5
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}