ZoomControlOptions
interface ZoomControlOptions
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| type | ZOOM_TYPE | ✔️ | "fov" | Zoom control type. | 
| scale | number | ✔️ | 1 | Scale factor for panning. | 
| duration | number | ✔️ | 300 | Duration of the input animation (ms) | 
| minFov | number | ✔️ | 1 | Minimum vertical fov(field of view). Only available when type is "fov". You can get a bigger image with the smaller value of this. | 
| maxFov | number | ✔️ | "auto" | Maximum vertical fov(field of view). Only available when type is "fov". You can get a smaller image with the bigger value of this. If "auto"is given, it will use Math.min(default fov + 45, 175). | 
| minDistance | number | ✔️ | 0.1 | Minimum camera distance. This will be scaled to camera's default distance(Camera#baseDistance) Only available when type is "distance". | 
| maxDistance | number | ✔️ | 2 | Maximum camera distance. This will be scaled to camera's default distance(Camera#baseDistance) Only available when type is "distance". | 
| doubleTap | boolean | object | ✔️ | true | Configures double tap to zoom behavior, falseto disable. | 
| doubleTap.zoomIn | number | ✔️ | 0.8 | Zoom-in value, relative to fov/distance range.max. | 
| doubleTap.useZoomOut | boolean | ✔️ | true | Whether to use zoom-out behavior on double tap. | 
| doubleTap.duration | number | ✔️ | 300 | Duration of the zoom-in and zoom-out animation. | 
| doubleTap.easing | number | ✔️ | EASING.EASE_OUT_CUBIC | Easing function of the zoom-in and zoom-out animation. | 
| easing | function | ✔️ | EASING.EASE_OUT_CUBIC | Easing function of the animation. |