FlyToOptions
Properties
The function to execute if the flight is cancelled.
The function to execute when the flight is complete.
The final position of the camera in world coordinates or a rectangle that would be visible from a top-down view.
Controls how the time is interpolated over the duration of the flight.
Transform matrix representing the reference frame the camera will be in when the flight is completed.
There are always two ways between 2 points on globe. This option force camera to choose fight direction to fly over that longitude.
Fly over the lon specifyed via flyOverLongitude only if that way is not longer than short way times flyOverLongitudeWeight.
The maximum height at the peak of the flight.
An object that contains either direction and up properties or heading, pitch and roll properties. By default, the direction will point towards the center of the frame in 3D and in the negative z direction in Columbus view. The up direction will point towards local north in 3D and in the positive y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
If camera flyes higher than that value, adjust pitch duiring the flight to look down, and keep Earth in viewport.