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

    Type Alias IncidentLineConfig

    How TrafficIncidentDetailsModule draws the incident lines.

    type IncidentLineConfig = {
        opacity?: number;
    }
    Index
    opacity?: number

    Opacity of the incident lines, from 0 to 1. The markers and the outline of a highlighted incident stay opaque, so a focused incident still stands out.

    1