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
- Example: CameraFlyTo
Availability
Inside Viewer or CesiumWidget components.
Properties
Property | Type | Description |
---|---|---|
destination | Cartesian3 | Rectangle | |
orientation | any | |
duration | number | |
endTransform | Matrix4 | |
maximumHeight | number | |
pitchAdjustHeight | number | |
flyOverLongitude | number | |
flyOverLongitudeWeight | number | |
convert | boolean | |
easingFunction | Callback | |
onComplete | FlightCompleteCallback | |
onCancel | FlightCancelledCallback | |
cancelFlightOnUnmount | boolean | If true, cancel camera flight if this component is unmounted. Default value is false. |
once | boolean | If true, camera flight will be executed only once time. |