Skip to content

CameraFlyTo

CameraFlyTo is a kind of operation of the camera.

When it is mounted, camera.flyTo(options) will be execute.

If any property is changed, the current camera flight will be canceled and a new one is executed.

See also: Camera#flyTo

Inside Viewer or CesiumWidget components.

Property Type Description
destination Cartesian3 | Rectangle
orientation any
duration number | undefined
endTransform Matrix4 | undefined
maximumHeight number | undefined
pitchAdjustHeight number | undefined
flyOverLongitude number | undefined
flyOverLongitudeWeight number | undefined
convert boolean | undefined
easingFunction Callback | undefined
onComplete FlightCompleteCallback | undefined
onCancel FlightCancelledCallback | undefined
cancelFlightOnUnmount boolean | undefined If true, cancel camera flight if this component is unmounted. Default value is false.
once boolean | undefined If true, camera flight will be executed only once time.