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

# calloutShouldAnimateForAnnotation(annotation)

Determines whether the callout animates.

```
calloutShouldAnimateForAnnotation?(annotation: Annotation): boolean;
```

## Parameters

`annotation`

The annotation for the callout.

## Return Value

This method returns a Boolean value that determines if the callout should be animated.

## Discussion

This method determines whether an appearance annotation should run. The animation runs if the value is `true`.

---

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)