TomTom Maps for JavaScript
    Preparing search index...

    Variable fullTrafficIncidentCategoriesConst

    fullTrafficIncidentCategories: readonly [
        "accident",
        "broken-down-vehicle",
        "danger",
        "flooding",
        "fog",
        "frost",
        "jam",
        "lane-closed",
        "other",
        "rain",
        "road-closed",
        "roadworks",
        "wind",
        "animals-on-road",
        "narrow-lanes",
    ] = ...

    All possible traffic incident categories.

    It adds to trafficIncidentRequestCategories the two categories with no Incident Details category, which that list leaves out. Use this list for categories you receive, and that one for categories you send to the Incident Details API as a categoryFilter input.