Instance Method

addAnnotation

Adds an annotation to the map.

Declaration

mapkit.Annotation addAnnotation(mapkit.Annotation annotation);

Parameters

annotation

The annotation to add.

Return Value

Returns the annotation.

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.

annotationsInMapRect

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

addAnnotations

Adds multiple annotations to the map.

removeAnnotation

Removes an annotation from the map.

removeAnnotations

Removes multiple annotations from the map.