coordinate Bounds For Camera
open override fun coordinateBoundsForCamera(camera: CameraOptions): CoordinateBounds
Content copied to clipboard
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 and will return a no-op result matching the world bounds. See com.mapbox.maps.extension.style.projection.generated.setProjection and com.mapbox.maps.extension.style.projection.generated.getProjection
Return
The CoordinateBounds object representing a given camera
.
Parameters
camera
The CameraOptions to use for calculating CoordinateBounds.