---
title: data
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/overlay/data
---

# data

Custom data to associate with the overlay.

## Declaration

```data
get data(): {};
set data(data: {});
```

## Discussion

Discussion You choose the data to assign to the overlay. It can be any JavaScript value.

## See Also

### Setting overlay options

- [visible](mapkitjs/overlay/visible.md)
- [enabled](mapkitjs/overlay/enabled.md)
- [selected](mapkitjs/overlay/selected.md)
- [style](mapkitjs/overlay/style.md)
- [map](mapkitjs/overlay/map.md)
