setMaxBounds method

LeafletMap setMaxBounds([
  1. Bounds? bounds
])

Restricts the map view to the given bounds (see the maxBounds option).

Implementation

external LeafletMap setMaxBounds([Bounds? bounds]);