Instance Method

annotationsInMapRect

Returns the list of annotation objects located in the specified map rectangle.

Declaration

mapkit.Annotation[] annotationsInMapRect(mapkit.MapRect mapRect);

Parameters

mapRect

The portion of the map in which to look for annotations.

Return Value

Returns an array of annotations that fall inside mapRect.

See Also

Annotating the Map

annotations

An array of all the annotations on the map.

selectedAnnotation

The annotation that is selected.

annotationForCluster

A delegate method for modifying an annotation that represents a group of annotations that are combined into a cluster.

addAnnotation

Adds an annotation to the map.

addAnnotations

Adds multiple annotations to the map.

removeAnnotation

Removes an annotation from the map.

removeAnnotations

Removes multiple annotations from the map.