---
title: "ExitAnimationPreset | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias ExitAnimationPreset

ExitAnimationPreset: "shrink" | "fade" | "pop" | "explode"

Predefined `exit` animation types.

-   `fade` — opacity only.
-   `shrink` — uniform scale to nothing, fully opaque throughout.
-   `pop` — scale to nothing combined with a fade, springy overshoot.
-   `explode` — scales up (2x) while fading out.

See `marker-animation-presets.ts` for each preset's exact motion/easing config.
