MKMapView.GetAnnotations(MKMapRect) 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.
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.