coordinateBoundsForCamera

abstract fun coordinateBoundsForCamera(camera: CameraOptions): CoordinateBounds

Returns the CoordinateBounds for a given camera.

Note that if the given camera shows the antimeridian, the returned wrapped CoordinateBounds might not represent the minimum bounding box.

This API isn't supported by Globe projection.

Return

The CoordinateBounds object representing a given camera.

Parameters

camera

The CameraOptions to use for calculating CoordinateBounds.