<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/AnnotationCalloutDelegate/calloutLeftAccessoryForAnnotation",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Method",
  "symbol" : {
    "kind" : "Interface Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structm/mapkit.AnnotationCalloutDelegate/calloutLeftAccessoryForAnnotation"
  },
  "title" : "calloutLeftAccessoryForAnnotation(annotation)"
}
-->

# calloutLeftAccessoryForAnnotation(annotation)

Returns an element to use as a custom accessory on the left side of the callout content area.

```
calloutLeftAccessoryForAnnotation?(annotation: Annotation): HTMLElement;
```

## Parameters

`annotation`

The annotation for the callout.

## Return Value

This method returns a DOM element to display as the left accessory.

## Discussion

You use this method to provide a custom accessory for the left side of the callout content area (that the title and subtitle occupy).

Use CSS padding and margins to adjust the layout of accessory elements. An accessory element that’s shorter than the callout’s other content centers vertically in the callout. The accessory’s container doesn’t have padding, so a background that you set for an accessory element fully bleeds to the border of the callout. The callout does clip its content, so any background doesn’t won’t bleed outside the rounded corners of the callout.

MapKit JS ignores this method if you implement [`calloutElementForAnnotation(annotation)`](/documentation/MapKitJS/AnnotationCalloutDelegate/calloutElementForAnnotation). In that case, you’re responsible for the entirety of the callout.

Note that callouts are language-aware, *left* and *right* refer to the placement of the accessories in a left-to-right language. If the [`language`](/documentation/MapKitJS/mapkit/language) property indicates a right-to-left language like Hebrew, the system mirrors the UI and the system places the left accessory on the right-hand side, and vice versa.

---

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)