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

# removeItems(items)

Removes a collection of annotations, overlays, or other item collections from the map.

## Declaration

```data
removeItems(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.

## Return Value

Return Value Returns an array of items removed from the map.

## Discussion

Discussion This method doesn’t change the map’s visible region. Use showItems(items, options) with a list of items to focus on to update the map’s view.

## See Also

### Adding and removing geographical features

- [addItems(items)](mapkitjs/map/additems.md)
