<!--
{
  "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

[`var markerTintColor: UIColor?`](/documentation/MapKit/MKMarkerAnnotationView/markerTintColor)

The background color of the marker balloon.

### Setting the Marker Content

[`var glyphText: String?`](/documentation/MapKit/MKMarkerAnnotationView/glyphText)

The text to display in the marker balloon.

[`var glyphImage: UIImage?`](/documentation/MapKit/MKMarkerAnnotationView/glyphImage)

An image to display in the marker balloon.

[`var glyphTintColor: UIColor?`](/documentation/MapKit/MKMarkerAnnotationView/glyphTintColor)

The color to apply to the glyph text or image.

[`var selectedGlyphImage: UIImage?`](/documentation/MapKit/MKMarkerAnnotationView/selectedGlyphImage)

An image to display when the user selects the marker.

### Setting the Visibility

[`var titleVisibility: MKFeatureVisibility`](/documentation/MapKit/MKMarkerAnnotationView/titleVisibility)

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

[`var subtitleVisibility: MKFeatureVisibility`](/documentation/MapKit/MKMarkerAnnotationView/subtitleVisibility)

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

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

Constants that indicate the visibility of different map features.

### Animating the Marker onto the Screen

[`var animatesWhenAdded: Bool`](/documentation/MapKit/MKMarkerAnnotationView/animatesWhenAdded)

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

## Relationships

### Conforms To

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSUserInterfaceItemIdentification`](/documentation/AppKit/NSUserInterfaceItemIdentification)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSStandardKeyBindingResponding`](/documentation/AppKit/NSStandardKeyBindingResponding)

[`NSDraggingDestination`](/documentation/AppKit/NSDraggingDestination)

[`NSAnimatablePropertyContainer`](/documentation/AppKit/NSAnimatablePropertyContainer)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`NSUserActivityRestoring`](/documentation/AppKit/NSUserActivityRestoring)

[`NSAppearanceCustomization`](/documentation/AppKit/NSAppearanceCustomization)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`NSAccessibilityElementProtocol`](/documentation/AppKit/NSAccessibilityElementProtocol)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`Sendable`](/documentation/Swift/Sendable)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`NSAccessibilityProtocol`](/documentation/AppKit/NSAccessibilityProtocol)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`Equatable`](/documentation/Swift/Equatable)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

### Inherits From

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

---

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)