---
title: "MarkerTransitionEventData | 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 MarkerTransitionEventData

Event fired by a marker's `transitionstart` / `transitionend` — the same shape as MapLibre's own marker events (`type`, `target`), plus `props`.

type MarkerTransitionEventData \= {  
    [props](#props): [Partial](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Partial/)<[Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<[MarkerTransitionProperty](https://docs.maptiler.com/sdk-js/api-reference/types/MarkerTransitionProperty/), unknown\>\>;  
    [target](#target): [Marker](https://docs.maptiler.com/sdk-js/api-reference/classes/Marker/);  
    [type](#type): "transitionstart" | "transitionend";  
}

##### Index

### Properties

[props](#props) [target](#target) [type](#type)

## Properties

### props[](#props)

props: [Partial](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Partial/)<[Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<[MarkerTransitionProperty](https://docs.maptiler.com/sdk-js/api-reference/types/MarkerTransitionProperty/), unknown\>\>

The property being transitioned, keyed to its value at the time of the event — the value it's easing from on `transitionstart`, the value it reached on `transitionend`.

### target[](#target)

target: [Marker](https://docs.maptiler.com/sdk-js/api-reference/classes/Marker/)

### type[](#type)

type: "transitionstart" | "transitionend"
