cameraForCoordinateBounds method

Future<CameraOptions> cameraForCoordinateBounds(
  1. CoordinateBounds bounds,
  2. MbxEdgeInsets padding,
  3. double? bearing,
  4. double? pitch
)

Convenience method that returns the camera options object for given parameters.

Implementation

Future<CameraOptions> cameraForCoordinateBounds(CoordinateBounds bounds,
        MbxEdgeInsets padding, double? bearing, double? pitch) =>
    _cameraManager.cameraForCoordinateBounds(bounds, padding, bearing, pitch);