---
title: "init(memberAnnotations:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkclusterannotation/init(memberannotations:)"
---

# init(memberAnnotations:)

Creates a cluster annotation with the specified individual annotations.

## Declaration

```swift
init(memberAnnotations: [any MKAnnotation])
```

## Parameters

- `memberAnnotations`: The annotations to group together as a single entity.

## Return Value

Return Value An initialized MKClusterAnnotation object or nil if the object could not be created.
