Fit a map to a bounding box

Use fitBounds to show a specific area of the map in view, regardless of the pixel size of the map.







      
      
An extension of MapLibre GL JS

Was this helpful?