MKMapView.RegionThatFits(MKCoordinateRegion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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