Convert to a camera options from a given geometry, padding, bearing and pitch values.
In order for this method to produce correct results MapView must be already measured and inflated to have correct width and height values. Calling this method in Activity.onCreate will lead to incorrect results.
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