<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMarkerAnnotationView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMarkerAnnotationView"
  },
  "title" : "MKMarkerAnnotationView"
}
-->

# MKMarkerAnnotationView

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

```
class MKMarkerAnnotationView
```

## Overview

Return an instance of this class from the [`mapView(_:viewFor:)`](/documentation/MapKit/MKMapViewDelegate/mapView(_:viewFor:)-8humz) method of your map view delegate when you want to display the same types of markers used in the Maps app.

The default [`displayPriority`](/documentation/MapKit/MKAnnotationView/displayPriority) for an instance of this class is [`defaultLow`](/documentation/MapKit/MKFeatureDisplayPriority/defaultLow).

## Topics

### Setting the Marker Color

[`markerTintColor`](/documentation/MapKit/MKMarkerAnnotationView/markerTintColor)

The background color of the marker balloon.

### Setting the Marker Content

[`glyphText`](/documentation/MapKit/MKMarkerAnnotationView/glyphText)

The text to display in the marker balloon.

[`glyphImage`](/documentation/MapKit/MKMarkerAnnotationView/glyphImage)

An image to display in the marker balloon.

[`glyphTintColor`](/documentation/MapKit/MKMarkerAnnotationView/glyphTintColor)

The color to apply to the glyph text or image.

[`selectedGlyphImage`](/documentation/MapKit/MKMarkerAnnotationView/selectedGlyphImage)

An image to display when the user selects the marker.

### Setting the Visibility

[`titleVisibility`](/documentation/MapKit/MKMarkerAnnotationView/titleVisibility)

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

[`subtitleVisibility`](/documentation/MapKit/MKMarkerAnnotationView/subtitleVisibility)

The visibility of the subtitle text rendered beneath the marker balloon.

[`MKFeatureVisibility`](/documentation/MapKit/MKFeatureVisibility)

Constants that indicate the visibility of different map features.

### Animating the Marker onto the Screen

[`animatesWhenAdded`](/documentation/MapKit/MKMarkerAnnotationView/animatesWhenAdded)

A Boolean that indicates whether the marker animates into position onscreen.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)