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

    Variable trafficIncidentRequestCategoriesConst

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

    Traffic incident categories accepted as categoryFilter inputs by the Incident Details API.

    Strict subset of fullTrafficIncidentCategories — every value here is also a valid response category. The two values omitted ('animals-on-road' and 'narrow-lanes') have no Incident Details category: they only appear on traffic vector-tile features.