zoomTo

fun zoomTo(@FloatRange(from = 0.0, to = 22.0) zoom: Double): CameraOptions

Returns the CameraOptions that apply the given zoom level on the camera.

Return

CameraOptions for the transition.

Parameters

zoom

Zoom level for the camera position. Values go from 0 (no zoom) to 22 (fully zoomed in). For example, 15 is building-level zoom.

See also

to read more about the zoom attribute.