<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/ClusterAnnotation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "cl/mapkit.ClusterAnnotation"
  },
  "title" : "ClusterAnnotation"
}
-->

# ClusterAnnotation

An annotation type that groups multiple annotations together.

```
class ClusterAnnotation extends MarkerAnnotation
```

## Discussion

The framework creates a [`ClusterAnnotation`](/documentation/MapKitJS/ClusterAnnotation) when it groups annotations in a cluster. You can replace the annotation or update its properties using the [`annotationForCluster`](/documentation/MapKitJS/Map/annotationForCluster) delegate method.

## Topics

### Instance Properties

[`get memberAnnotations(): Annotation[];`](/documentation/MapKitJS/ClusterAnnotation/memberAnnotations)

An array of annotations that the framework grouped together in a cluster.

## Relationships

### Inherits From

[`MarkerAnnotation`](/documentation/MapKitJS/MarkerAnnotation)

---

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)