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

# appearanceAnimation

A CSS animation that runs when the annotation appears on the map.

```
get appearanceAnimation(): string;
set appearanceAnimation(appearanceAnimation: string);
```

## Discussion

The value of this property is a string specifying a [CSS animation shorthand property syntax](http://dev.w3.org/csswg/css-animations/#animation). The string refers to keyframes that you need to provide in a stylesheet or a style element.

---

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)