new CameraZoomRange(rangeParams)
Creates an instance of a camera zoom range object with an object literal.
Declaration
constructor(rangeParams: CameraZoomRangeConstructorOptions);Discussion
Calling the constructor with an CameraZoomRangeConstructorOptions object literal creates a CameraZoomRange instance that constrains the camera.
Both minCameraDistance and maxCameraDistance must be greater than or equal to 0. The minCameraDistance must be lower than or equal to the maxCameraDistance.