Instance Method

addAnnotation:

Adds the specified annotation to the map view.

Declaration

- (void)addAnnotation:(id<MKAnnotation>)annotation;

Parameters

annotation

The annotation object to add to the receiver. This object must conform to the MKAnnotation protocol. The map view retains the specified object.

See Also

Annotating the Map

annotations

The complete list of annotations associated with the receiver.

addAnnotations:

Adds an array of annotation objects to the map view.

removeAnnotation:

Removes the specified annotation object from the map view.

removeAnnotations:

Removes an array of annotation objects from the map view.

viewForAnnotation:

Returns the annotation view associated with the specified annotation object, if any.

annotationsInMapRect:

Returns the annotation objects located in the specified map rectangle.

annotationVisibleRect

The visible rectangle where annotation views are currently being displayed.

dequeueReusableAnnotationViewWithIdentifier:

Returns a reusable annotation view located by its identifier.