---
title: data
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/overlayoptions/data
---

# data

Custom data to associate with the overlay.

## Declaration

```data
data?: object;
```

## Discussion

Discussion You choose the data to assign to the overlay. It can be any JavaScript value. The default value is {}.

## See Also

### Overlay options

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