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

# size

The desired dimensions of the annotation, in CSS pixels.

## Declaration

```data
size?: Size;
```

## Discussion

Discussion The desired dimensions (width × height) of the annotation, in CSS pixels.

## See Also

### Setting position and appearances

- [anchorOffset](mapkitjs/annotationconstructoroptions/anchoroffset.md)
- [appearanceAnimation](mapkitjs/annotationconstructoroptions/appearanceanimation.md)
- [displayPriority](mapkitjs/annotationconstructoroptions/displaypriority.md)
- [padding](mapkitjs/annotationconstructoroptions/padding.md)
- [visible](mapkitjs/annotationconstructoroptions/visible.md)
