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.




    
JavaScript Maps API

Examples