coordinateBoundsZoomForCameraUnwrapped

open override fun coordinateBoundsZoomForCameraUnwrapped(camera: CameraOptions): CoordinateBoundsZoom

Returns the unwrapped coordinate bounds and zoom for a given camera.

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.

This method is particularly useful, if the camera shows the antimeridian.

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

Returns the unwrapped coordinate bounds and zoom for a given camera.