For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias MapTilerMarkerAnimations
type MapTilerMarkerAnimations = {
enter?: MarkerAnimationOptions<EnterAnimationPreset>;
exit?: MarkerAnimationOptions<ExitAnimationPreset>;
idle?: MarkerIdleAnimationOptions;
}
enter?: MarkerAnimationOptions<EnterAnimationPreset>;
exit?: MarkerAnimationOptions<ExitAnimationPreset>;
idle?: MarkerIdleAnimationOptions;
}
Properties
Optionalenter
Played once the marker is added to a map.
Optionalexit
Played when remove() is called. The marker stays on the map, still
receiving updates, until this animation finishes.
Optionalidle
Looped while the marker sits on the map, after enter finishes (or
immediately, if no enter is configured).
Lifecycle animations played as a marker enters, idles on, and exits the map.