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

# anchorOffset

An offset that changes the annotation’s default anchor point.

## Declaration

```data
get anchorOffset(): DOMPoint;
set anchorOffset(value: DOMPoint);
```

## Discussion

Discussion By default, the annotation’s anchor point is the bottom center of the element. The default anchor point works well for pin marker annotations. To choose a different anchor point, provide an offset from this point. Positive x-values move the element to the left, and positive y-values move the element up. For example, to indicate the center of a circular annotation as the anchor point, use an offset of DOMPoint(0, -height / 2), where height is the height of the element.

## See Also

### Getting and setting annotation appearance

- [coordinate](mapkitjs/annotation/coordinate.md)
- [appearanceAnimation](mapkitjs/annotation/appearanceanimation.md)
- [displayPriority](mapkitjs/annotation/displaypriority-data.property.md)
- [padding](mapkitjs/annotation/padding.md)
- [size](mapkitjs/annotation/size.md)
- [visible](mapkitjs/annotation/visible.md)
