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

    Variable ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGEConst

    ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGE: KnobRange = ...

    The values RouteHighlightConfig.outlineWidthFactor is clamped to.

    A section halo is drawn beneath the route at 1.26 times its outline width or more, at every preset and zoom; a wider outline on a hovered route would cover it.