MapKit.MKMapView.MapRectThatFits Method
Adjusts the width and height of a map rectangle so it fist in the map view's frame.

Syntax

[Foundation.Export("mapRectThatFits:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
public virtual MKMapRect MapRectThatFits (MKMapRect mapRect)

Parameters

mapRect
The rectangle that needs to be adjusted to fit in the map view's frame.

Returns

The adjusted rectangle.

Remarks

The center point of the map remains unchanged.

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0