---
title: map
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/annotation/map
---

# map

The map that the framework adds the annotation to.

## Declaration

```data
get map(): Map | null;
set map(_: Map | null);
```

## Discussion

Discussion This property is null before MapKit JS adds the annotation to a Map, and after MapKit JS removes the annotation from a mapkit.Map.

## See Also

### Getting the map and element

- [element](mapkitjs/annotation/element.md)
