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...

    Variable sectionTypesConst

    sectionTypes: readonly [
        "carpool",
        "carTrain",
        "country",
        "ferry",
        "importantRoadStretch",
        "lowEmissionZone",
        "motorway",
        "pedestrian",
        "roadShields",
        "speedLimit",
        "toll",
        "tollRoad",
        "tollVignette",
        "traffic",
        "tunnel",
        "unpaved",
        "urban",
        "vehicleRestricted",
        "curve",
        "curvyStretch",
        "lanes",
        "leg",
        "distinct",
    ] = ...

    Every section type a route can carry: the requestable ones, plus leg and distinct, which no request names.