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

# element

Sets the element of the annotation.

## Declaration

```data
element?: HTMLElement;
```

## Discussion

Discussion The framework ignores the element option in the constructor. If present, it generates a warning. The framework creates the DOM element encapsulating the annotation automatically.
