Modifica

Condividi tramite


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

The map rectangle to return annotations for.

Returns

The set of annotations.

Attributes

Remarks

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

Applies to