---
title: maps
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/mapkit/maps
---

# maps

An array that automatically adds and removes maps as the framework creates and destroys them.

## Declaration

```data
get maps(): Map[];
```

## Mentioned in

MapKit JS 5

## Discussion

Discussion You must load the appropriate library before accessing the array, otherwise, the array throws an Error.

## See Also

### Maps

- [Map](mapkitjs/map.md)
