coordinateBoundsZoomForCamera

open fun coordinateBoundsZoomForCamera(camera: CameraOptions): CoordinateBoundsZoom

Returns the `coordinate bounds` and the `zoom` for a given `camera`. Note that if the given `camera` shows the antimeridian, the returned wrapped `coordinate bounds` might not represent the minimum bounding box.

Return

object representing `coordinate bounds` and `zoom` for a given `camera`.

Parameters

camera

The `camera options` to use for calculating `coordinate bounds` and `zoom`.