---
title: addItems(items)
framework: mapkitjs
role: symbol
role_heading: Instance Method
path: mapkitjs/map/additems
---

# addItems(items)

Adds a collection of annotations, overlays, or other item collections to the map.

## Declaration

```data
addItems(items: (Overlay | Annotation)[]): (Annotation | Overlay)[];
```

## Parameters

- `items`: An array of annotations, overlays, or the data returned from doc://com.apple.mapkitjs/documentation/MapKitJS/mapkit/importGeoJSON to display on the map.

## Mentioned in

MapKit JS 5

## Return Value

Return Value Returns an array of items added to the map.

## Discussion

Discussion Use addItems(items) to add elements to the map after importing them from importGeoJSON(data, callback). This method doesn’t change the map’s visible region. Use showItems(items, options) with the list of items to change the map’s view.

## See Also

### Adding and removing geographical features

- [removeItems(items)](mapkitjs/map/removeitems.md)
