Restrict map panning to an area
Prevent a map from being panned to a different place by setting maxBounds.
Related examples
An extension of MapLibre GL JS
Was this helpful?
Prevent a map from being panned to a different place by setting maxBounds.