---
title: calloutRightAccessoryForAnnotation(annotation)
framework: mapkitjs
role: symbol
role_heading: Interface Method
path: mapkitjs/annotationcalloutdelegate/calloutrightaccessoryforannotation
---

# calloutRightAccessoryForAnnotation(annotation)

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

## Declaration

```data
calloutRightAccessoryForAnnotation?(annotation: Annotation): HTMLElement;
```

## Parameters

- `annotation`: The annotation for the callout.

## Return Value

Return Value This method returns a DOM element to display as the right accessory.

## Discussion

Discussion You can use this method to provide a custom accessory to the right side of the callout content area. It works similarly to calloutLeftAccessoryForAnnotation(annotation).

## See Also

### Providing elements

- [calloutContentForAnnotation(annotation)](mapkitjs/annotationcalloutdelegate/calloutcontentforannotation.md)
- [calloutElementForAnnotation(annotation)](mapkitjs/annotationcalloutdelegate/calloutelementforannotation.md)
- [calloutLeftAccessoryForAnnotation(annotation)](mapkitjs/annotationcalloutdelegate/calloutleftaccessoryforannotation.md)
