/
getZoomRange
getZoomRange
Gets the zoom level range for the active sphere, passes it to the optional callback function (if provided), and returns it.
See sendData for how to set these values.
Parameters:
callback
(function): (OPTIONAL) A callback function to execute. It will be passed an object with the following attributes automatically:cameraZoomMin
(number): The minimum valid field of view for the current spherecameraZoomMax
(number): The maximum valid field of view for the current sphere
Returns: A promise that resolves to the same object that is passed to the callback.
Code Sample
, multiple selections available,
Related content
getZoom
getZoom
More like this
getFovRange
getFovRange
More like this
setZoomRange
setZoomRange
More like this
getFov
getFov
More like this
setFovRange
setFovRange
More like this
sendData
sendData
More like this