/
getZoom
getZoom
Gets the current zoom level for the active sphere, passes it to the optional callback function (if provided), and returns it.
See sendData for how to set this value.
Parameters:
callback
(function): (OPTIONAL) A callback function to execute. It will be passed an object with the following attribute automatically:cameraZoom
(number): A number representing the current zoom level
Returns: A promise that resolves to the same object that is passed to the callback.
Code Sample
, multiple selections available,
Related content
getZoomRange
getZoomRange
More like this
getFovRange
getFovRange
More like this
getFov
getFov
More like this
setZoomRange
setZoomRange
More like this
getActiveSphere
getActiveSphere
More like this
getData
getData
More like this