Modifier

Partager via


MKOverlayView.MapRectForRect(CGRect) Method

Definition

The MKMapRect corresponding to the specified rect.

[Foundation.Export("mapRectForRect:")]
[ObjCRuntime.ThreadSafe]
public virtual MapKit.MKMapRect MapRectForRect (CoreGraphics.CGRect rect);
abstract member MapRectForRect : CoreGraphics.CGRect -> MapKit.MKMapRect
override this.MapRectForRect : CoreGraphics.CGRect -> MapKit.MKMapRect

Parameters

rect
CGRect

The RectangleF for which a MKMapRect is desired.

Returns

Attributes

Remarks

The rect should be in the MKOverlayView's coordinate system.

This can be used from a background thread.

Applies to