cameraForGeometry

Convert to a camera options from a given geometry, padding, bearing and pitch values.

Return

Returns the converted camera options

Parameters

bearing

The optional bearing to take in account when converting

geometry

The geometry to take in account when converting

padding

The additional padding to take in account when converting

pitch

The optional pitch to take in account when converting

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