coordinateBoundsForCamera

Convert to a LatLngBounds from a given camera options.

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 LatLngBounds

Parameters

camera

The camera options to take in account when converting

open override fun coordinateBoundsForCamera(camera: CameraOptions): CoordinateBounds