<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Annotation/map",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instp/mapkit.Annotation/map"
  },
  "title" : "map"
}
-->

# map

The map that the framework adds the annotation to.

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

## Discussion

This property is `null` before MapKit JS adds the annotation to a [`Map`](/documentation/MapKitJS/Map), and after MapKit JS removes the annotation from a `mapkit.Map`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)