Skip to Content
APIAssetsFunction: createRouteAnimationIconDataUrl()

Function: createRouteAnimationIconDataUrl()

RouteAnimationIconConfig

Generates a data URL for the route animation icon SVG with customizable appearance.

Parameters

config?

RouteAnimationIconConfig

Optional configuration for the icon appearance.

Returns

string

A data URL string that can be used as the src attribute of an <img> element.

Example

string

Last updated on