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

# map

Sets the annotation’s map.

## Declaration

```data
map?: Map;
```

## Discussion

Discussion The framework ignores the map option in the constructor. If present, the framework generates a warning. To add or remove an annotation from a specific map, use Map/addAnnotation and Map/removeAnnotation.
