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

    Variable trafficIncidentOverlayKnobCatalogueConst

    trafficIncidentOverlayKnobCatalogue: readonly TrafficIncidentOverlayKnob[] = ...

    Every TrafficIncidentOverlayModule knob with its kind, description, range and, where one value holds everywhere, its default. Static data, readable with no map loaded.

    The incident lines take the colours of the style's own incident layers, which are StylingModule's traffic.incidents.* knobs. Not knobs: beforeLayerConfig, focus: false, which turns the focus treatment off, and events.