OptionalmainThe primary color applied to the route line, outline, and waypoint icons.
Affects the main selected route line foreground, the route outline (a darker shade is derived automatically), and the waypoint icon fill. Can be overwritten by more specific layer styling configurations.
When unset, the map's accent colour applies if a theme sets one (TomTomMap.mapColors).
Available options:
"#FF0000", "rgb(255,0,0)", "red", etc.)OptionalrouteLine thickness preset for the main route line and its outline.
OptionalwaypointIcon size preset for route waypoint pins.
Generic styling for route visualization.
Remarks