flyHome

fun flyHome(duration: Double? = definedExternally)(source)

Fly the camera to the home view. Use {@link Camera#.DEFAULT_VIEW_RECTANGLE} to set the default view for the 3D scene. The home view for 2D and columbus view shows the entire map.

Parameters

duration

The duration of the flight in seconds. If omitted, Cesium attempts to calculate an ideal duration based on the distance to be traveled by the flight. See Camera.flyTo

See also