Skip to Content
APIRoutesInterface: AnimationDrawingConfig

Interface: AnimationDrawingConfig

Parameters to configure the drawing of a animated route.

Properties

aheadPathStyle?

{ type: "Solid", color: "#757575"}

The style for the route ahead of the icon representing the user.

Default Value

{ type: "Solid", color: "#757575"}


behindPathStyle?

{ type: "Solid", color: "#0076B6"}

The style for the route behind of the icon representing the user.

Default Value

{ type: "Solid", color: "#0076B6"}


polylineWidth?

10

The width in pixels of the route line on the map.

Default Value

10


routeIcon?

routeIcon

A HTML element that contain the icon used to represent the moving user. By default, the image should represent a user pointing north.


routeIconConfig?

Configuration for the route animation icon appearance. If provided, this will be used to generate the icon instead of the default one. This option is ignored if routeIcon is also provided.

Default Value

Last updated on