cameraForCoordinatesCameraOptions method

Future<CameraOptions> cameraForCoordinatesCameraOptions(
  1. List<Point> coordinates,
  2. CameraOptions camera,
  3. ScreenBox box
)

Returns the camera options adjusted so the given coordinates fit inside the given box, using the given starting camera state.

Implementation

Future<CameraOptions> cameraForCoordinatesCameraOptions(
  List<Point> coordinates,
  CameraOptions camera,
  ScreenBox box,
) => _impl.cameraForCoordinatesCameraOptions(coordinates, camera, box);