cameraForCoordinateBounds method
Future<CameraOptions>
cameraForCoordinateBounds(
- CoordinateBounds bounds,
- MbxEdgeInsets padding,
- double? bearing,
- double? pitch,
- double? maxZoom,
- ScreenCoordinate? offset,
Convenience method that returns the camera options
object for given parameters.
Implementation
Future<CameraOptions> cameraForCoordinateBounds(
CoordinateBounds bounds,
MbxEdgeInsets padding,
double? bearing,
double? pitch,
double? maxZoom,
ScreenCoordinate? offset) =>
_cameraManager.cameraForCoordinateBounds(
bounds, padding, bearing, pitch, maxZoom, offset);