MapKit.MKMapView.ConvertRegion Method
Converts a map region to a rectangle.

Syntax

[Foundation.Export("convertRegion:toRectToView:")]
public virtual CoreGraphics.CGRect ConvertRegion (MKCoordinateRegion region, UIKit.UIView toRectToView)

Parameters

region
The map region to convert.
toRectToView

The view whose coordinate system is used for the conversion.

This parameter can be null.

Returns

The converted rectangle.

Remarks

If the view is null, the conversion will use a rectangle relative to the window.

Requirements

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