TomTom Maps for JavaScript
    Preparing search index...

    Type Alias TrafficIncidentsModuleFeature

    TrafficIncidentsModuleFeature: Feature<
        Geometry,
        TrafficIncidentBaseProperties & {
            averageSpeedKmph?: number;
            description: string;
            displayClass?: number;
            leftHandTraffic: boolean;
            openlr?: string;
            partOfTwoWayRoad?: boolean;
            roadCategory: RoadCategory;
            roadSubcategory: RoadSubCategory;
            timeValidity?: TrafficIncidentTimeValidity;
        },
    >

    Defines the structure of a traffic incident feature, which extends the basic GeoJSON feature with specific properties related to traffic incidents. This type is used to represent individual traffic incidents on the map, providing details such as the description of the incident, its severity, and the road category where it is occurring.