scale
Scale factor of the zoom control.
If this value is set to 2, the zoom increasing and decreasing for single mouse wheel will be doubled.
Similarly for mobile, the amount of zoom that increases or decreases in the amount of increased distance between two fingers in the pinch action doubles.
Example
Below is an example of doubling the zoom scale.
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
zoom: {
scale: 2
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}