Skip to Content
APIRoutesInterface: DrawRouteConfiguration

Interface: DrawRouteConfiguration

Parameters to configure how to draw the route on the map.

Properties

polylineWidth?

optional polylineWidth: number;

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

Default Value

10


routeStyle?

optional routeStyle: RouteStyle;

The style for the steps ahead of the user. If omitted, default to { type: "Solid", color: "#1257ED", }.

Default Value

{ type: "Solid", color: "#1257ED" }

Last updated on