Restrict map panning to an area

Prevent a map from being panned to a different place by setting maxBounds.







      
      
An extension of MapLibre GL JS

Was this helpful?