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

# data

Data that you define and assign to the annotation.

## Declaration

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

## Discussion

Discussion Custom data to associate with this annotation. The default value is {}.

## See Also

### Creating data and titles

- [title](mapkitjs/annotationconstructoroptions/title.md)
- [subtitle](mapkitjs/annotationconstructoroptions/subtitle.md)
- [accessibilityLabel](mapkitjs/annotationconstructoroptions/accessibilitylabel.md)
