<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Map/addAnnotations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.Map/addAnnotations"
  },
  "title" : "addAnnotations(annotations)"
}
-->

# addAnnotations(annotations)

Adds an array of annotations to the map.

```
addAnnotations(annotations: Annotation[]): Annotation[];
```

## Parameters

`annotations`

An array of annotations to add.

## Return Value

Returns the array of annotations.

## Discussion

The map shows annotations that have their [`animates`](/documentation/MapKitJS/Annotation/animates) property set to `true` in a staggered manner, in order of latitude.

> Note:
> MapKitJS immediately adds the annotations to the ``doc://com.apple.mapkitjs/documentation/MapKitJS/Map/annotations`` array, then visually displays them on the map.

---

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)