zoom
Options for camera zoom.
If true, enable zoom control with the default options.
If false, disable zoom control.
In addition to the boolean value, detailed options can be specified through objects of type ZoomControlOptions.
Example
Here's an example of disabling zoom.
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
zoom: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
For detailed options, you can specify the object as shown below.
Below is an example of changing the scale of the zoom
Refer to the sub-items on the left sidebar for detailed options and related descriptions.
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
zoom: {
scale: 2
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}