cameraForGeometry

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

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

Return

`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.