---
title: size
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/markerannotation/size
---

# size

The dimensions of the annotation, in CSS pixels.

## Declaration

```data
get size(): Size;
set size(_: Size);
```

## Discussion

Discussion You can’t change the size of an MarkerAnnotation.
