This is the documentation of version 0.58.0. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias IncidentFocusStyle

    Visual treatment applied to the focused subset by TrafficIncidentOverlayModule.setFocus.

    type IncidentFocusStyle = {
        outlineColor?: string;
        widthScale?: number;
    }
    Index
    outlineColor?: string

    Colour of the outline painted beneath the focused stripe.

    #000 on light map styles, #FFF on dark styles

    widthScale?: number

    Multiplier applied to the line width of focused features. Defaults to 1.6. 1 disables the width pop while keeping the outline.