---
title: items
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/itemcollection/items
---

# items

A nested list of annotations, overlays, and other item collections.

## Declaration

```data
get items(): Item[];
set items(items: Item | Item[] | null);
```

## Discussion

Discussion Access the original GeoJSON data in the data object. To retrieve the data as MapKit JS items, use the items or getFlattenedItemList() objects.

## See Also

### Item collection properties

- [data](mapkitjs/itemcollection/data.md)
- [getFlattenedItemList()](mapkitjs/itemcollection/getflatteneditemlist.md)
