This is the documentation of version 0.62.1. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RouteHighlightConfig

    How a hovered or clicked route is drawn: its outline widens, in the outline colour, whether the route is selected or not.

    The routes draw their event states once a handler covers them, or RoutingModule.putEventState puts one. A layers.mainLines outline line-width is drawn as given instead.

    type RouteHighlightConfig = {
        outlineWidthFactor?: number;
    }
    Index
    outlineWidthFactor?: number

    Multiplier on the outline width of a hovered or clicked route; 1 draws it as any other.

    Clamped to ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGE, 1 to 1.25.

    1.2