This is the documentation of version 0.50.4. Go to the latest version, 1.0.0-rc.5.
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

    Properties

    outlineColor?: string

    Colour of the outline painted beneath the focused stripe. Defaults to #000.

    widthScale?: number

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