AnimatedMarker component.

A Marker component that animates between positions when its target changes.

<AnimatedMarker target={mapData.getByType('space')[0]} duration={1000}>
<div>Hello, world!</div>
</AnimatedMarker>

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.