MKOverlayView.MapRectForRect(CGRect) 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.
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.