Instance Property

annotations

An array of all the annotations on the map.

Declaration

attribute mapkit.Annotation[] annotations;

Discussion

You can set this attribute to a new (possibly empty) array of annotations, which updates all the annotations on the map.

See Also

Annotating 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.

annotationsInMapRect

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

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.