Gets the active sphere, passes it to the optional callback function (if provided), and returns it.

getActivePano has been deprecated and replaced with getActiveSphere. This is not a breaking change.

Parameter:

Returns: A promise that resolves to the same object that is passed to the optional callback.

Code Sample