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

# calloutOffset

The offset, in CSS pixels, of a callout from the top center of the element.

```
calloutOffset?: DOMPoint;
```

## Discussion

The default value is `DOMPoint(0, 1)`, placing the callout bubble is slightly (1 pixel) above the top-center point of the annotation element.

To choose a different placement, provide an offset point where positive x values move the callout bubble to the left, and positive y values move the callout bubble up. For example, to leave a 5px margin between the top of the annotation and the bottom of the callout, use a callout offset of `DOMPoint(0, 5)`.

---

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)