Class

MKMarkerAnnotationView

An annotation view that displays a balloon-shaped marker at the designated location.

Declaration

@interface MKMarkerAnnotationView : MKAnnotationView

Overview

Return an instance of this class from the mapView:viewForAnnotation: method of your map view delegate when you want to display the same types of markers displayed by Maps.

Topics

Setting the Marker Color

markerTintColor

The background color of the marker balloon.

Setting the Marker Content

glyphText

The text to display in the marker balloon.

glyphImage

The image displayed in the marker balloon.

glyphTintColor

The color to apply to the glyph text or image.

selectedGlyphImage

The image to display when the marker is selected.

Setting the Visibility

titleVisibility

The visibility of the title text rendered below the marker balloon.

subtitleVisibility

The visibility of the subtitle text rendered below the marker balloon

MKFeatureVisibility

Constants indicating the visibility of different map features.

Animating the Marker onto the Screen

animatesWhenAdded

A Boolean indicating whether the marker animates into position onscreen.

Relationships

Inherits From

See Also

Point-Based Location

Annotating a Map with Custom Data

Annotate a map with location-specific data using default and customized annotation views and callouts.

MKPointAnnotation

A concrete annotation object tied to the specified point on the map.

MKPinAnnotationView

An annotation view that displays a pin image on the map.