When the map view is fitted to a MultiPoint geometry, it makes sure that those points are within the view. When fitted to a Polygon geometry, the geodesic between the points in the polygon is fitted within the view.

The Brazil and Arabia buttons demonstrate how extract the geometries from the source map and fit to one shape or multiple shapes respectively.