MKMapView.GetAnnotations(MKMapRect) MKMapView.GetAnnotations(MKMapRect) Method

Definition

Returns the annotations located in a specified map rectangle.

[Foundation.Export("annotationsInMapRect:")]
public virtual Foundation.NSSet GetAnnotations (MapKit.MKMapRect mapRect);
abstract member GetAnnotations : MapKit.MKMapRect -> Foundation.NSSet
override this.GetAnnotations : MapKit.MKMapRect -> Foundation.NSSet

Parameters

mapRect
MKMapRect MKMapRect

The map rectangle to return annotations for.

Returns

The set of annotations.

Remarks

Provides fast access to a set of annotations located in some area of the map.

Applies to