calloutRightAccessoryForAnnotation(annotation)
Returns an element to use as a custom accessory on the right side of the callout content area.
Declaration
calloutRightAccessoryForAnnotation?(annotation: Annotation): HTMLElement;Parameters
- annotation:
The annotation for the callout.
Return Value
This method returns a DOM element to display as the right accessory.
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).