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

    Type Alias IncidentHighlightConfig

    How a focused, hovered or clicked incident is drawn: the subset TrafficIncidentDetailsModule.setFocus marks, and an incident with an eventState.

    type IncidentHighlightConfig = {
        outlineColor?: string;
        widthFactor?: number;
    }
    Index
    outlineColor?: string

    Colour of the outline painted beneath the highlighted stripe.

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

    widthFactor?: number

    Multiplier applied to the line width of highlighted features, clamped to its range in trafficIncidentDetailsKnobCatalogue (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