Skip to main content

RouteLineStyle

type RouteLineStyle = object;

Defined in: src/NavigationViewport.tsx:22

Colors of the route lines the Navigation SDK draws on a navigation map. Unset colors keep the SDK defaults.

Properties​

PropertyTypeDescription
alternativeColor?ColorValueAlternative routes, where traffic is low or unknown.
casingColor?ColorValueBorder of the main route.
color?ColorValueMain route, where traffic is low or unknown. Moderate, heavy and severe traffic keep the SDK's colors.
traveledColor?ColorValuePart of the main route already traveled during guidance. Defaults to transparent, so that part disappears.