This is the documentation of version 0.59.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;
        widthFactor?: number;
    }
    Index
    outlineColor?: string

    Colour of the outline painted beneath the focused stripe.

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

    widthFactor?: number

    Multiplier applied to the line width of focused features, clamped to INCIDENT_FOCUS_WIDTH_FACTOR_RANGE (1–1.8); a value that is not a finite number falls back to the default. 1 disables the width pop while keeping the outline.

    1.6