---
title: "addAnnotations(_:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkmapview/addannotations(_:)"
---

# addAnnotations(_:)

Adds an array of annotation objects to the map view.

## Declaration

```swift
func addAnnotations(_ annotations: [any MKAnnotation])
```

## Parameters

- `annotations`: An array of annotation objects. Each object in the array must conform to the doc://com.apple.mapkit/documentation/MapKit/MKAnnotation protocol. The map view retains the individual annotation objects.

## See Also

### Annotating the map

- [annotations](mapkit/mkmapview/annotations.md)
- [addAnnotation(_:)](mapkit/mkmapview/addannotation(_:).md)
- [removeAnnotation(_:)](mapkit/mkmapview/removeannotation(_:).md)
- [removeAnnotations(_:)](mapkit/mkmapview/removeannotations(_:).md)
- [annotations(in:)](mapkit/mkmapview/annotations(in:).md)
