cameraForGeometry

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

Return

The `camera options` object representing the provided parameters.

Parameters

bearing

The bearing of the camera.

geometry

The `geometry` representing the bounds of the camera.

padding

The `edge insets` of the camera.

pitch

The pitch of the camera.

open fun cameraForGeometry(geometry: Geometry, padding: EdgeInsets, bearing: Double, pitch: Double): CameraOptions