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> Copy
<AnimatedMarker target={mapData.getByType('space')[0]} duration={1000}> <div>Hello, world!</div></AnimatedMarker>
Experimental
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
AnimatedMarker component.
A Marker component that animates between positions when its target changes.
Example