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