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

    Variable generatedSectionTypesConst

    generatedSectionTypes: readonly [
        "carpool",
        "carTrain",
        "importantRoadStretch",
        "lowEmissionZone",
        "motorway",
        "pedestrian",
        "speedLimit",
        "tollVignette",
        "unpaved",
        "urban",
    ] = ...

    The section types whose layers are generated from SECTION_REGISTRY.

    Plain line overlays over the route, one registration each. The remaining drawn types (bespokeSectionTypes) carry type-specific icons or data-driven colours, so they keep hand-written layers — but they take the same SectionDisplayConfig knobs.