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

    Variable drawnSectionTypesConst

    drawnSectionTypes: readonly [
        "carpool",
        "carTrain",
        "importantRoadStretch",
        "lowEmissionZone",
        "motorway",
        "pedestrian",
        "speedLimit",
        "tollVignette",
        "unpaved",
        "urban",
        "ferry",
        "tollRoad",
        "traffic",
        "tunnel",
        "vehicleRestricted",
    ] = ...

    Every drawn section type, generated ones first.