setBounds method

Future<void> setBounds(
  1. CameraBoundsOptions options
)

Constrains the camera to the given bounds options.

Fields left null on options are left unchanged. To remove the existing bounds constraint, pass InfiniteCoordinateBounds.

Implementation

Future<void> setBounds(CameraBoundsOptions options) =>
    _impl.setBounds(options);