setConstrainMode method

Future<void> setConstrainMode(
  1. ConstrainMode mode
)

Sets the map's constrain mode.

On web, this call has no effect. The constrain mode is always ConstrainMode.HEIGHT_ONLY.

Implementation

Future<void> setConstrainMode(ConstrainMode mode) =>
    _impl.setConstrainMode(mode);