cameraForCoordinateBounds

open fun cameraForCoordinateBounds(@NonNull bounds: CoordinateBounds, @NonNull padding: EdgeInsets, @Nullable bearing: Double, @Nullable pitch: Double): CameraOptions

Convenience method that returns the `camera options` object for given parameters.

Return

The `camera options` object representing the provided parameters.

Parameters

bounds

The `coordinate bounds` of the camera.

padding

The `edge insets` of the camera.

bearing

The bearing of the camera.

pitch

The pitch of the camera.