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

# MKClusterAnnotation

An annotation that groups two or more distinct annotations into a single entity.

```
class MKClusterAnnotation
```

## Overview

A cluster annotation object stands in for the group of annotations. Cluster views promote legibility of the underlying annotations by displaying a single annotation that takes it’s title from one annotation and includes a subtitle that indicates how many additional annotations belong to the group.

MapKit automatically creates cluster annotations when two or more annotation views group too closely together on the map surface. To customize the cluster annotations that display on your map, implement the [`mapView(_:clusterAnnotationForMemberAnnotations:)`](/documentation/MapKit/MKMapViewDelegate/mapView(_:clusterAnnotationForMemberAnnotations:)) method in your map’s delegate.

## Topics

### Creating a cluster annotation

[`-  initWithMemberAnnotations:`](/documentation/MapKit/MKClusterAnnotation/init(memberAnnotations:))

Creates a cluster annotation with the specified individual annotations.

### Getting the cluster attributes

[`title`](/documentation/MapKit/MKClusterAnnotation/title)

The title string to display for the group of annotations.

[`subtitle`](/documentation/MapKit/MKClusterAnnotation/subtitle)

The subtitle string to display for the group of annotations.

### Getting the annotations

[`memberAnnotations`](/documentation/MapKit/MKClusterAnnotation/memberAnnotations)

The annotations that the cluster contains.

## Relationships

### Conforms To

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)