Edit

Share via


MKMapView.RegionThatFits(MKCoordinateRegion) Method

Definition

Adjusts the size of the region to fit within the map view's frame

[Foundation.Export("regionThatFits:")]
public virtual MapKit.MKCoordinateRegion RegionThatFits (MapKit.MKCoordinateRegion region);
abstract member RegionThatFits : MapKit.MKCoordinateRegion -> MapKit.MKCoordinateRegion
override this.RegionThatFits : MapKit.MKCoordinateRegion -> MapKit.MKCoordinateRegion

Parameters

region
MKCoordinateRegion

The region of the map to fit in the map view's frame.

Returns

The adjusted region.

Attributes

Applies to