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

# id

The place ID that references a place or a map feature.

## Declaration

```data
get id(): string | null;
```

## Discussion

Discussion This value is only available when you initialize an annotation with a Place, or when the annotation is a MapFeatureAnnotationthat the framework creates when someone selects a map feature with a place ID available.
