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

    Type Alias RoutingKnobId

    RoutingKnobId:
        | "visible"
        | "color"
        | "widthPreset"
        | "widthFactor"
        | `highlight.${LeafPathOf<RouteHighlightConfig>}`
        | "waypoints.sizePreset"
        | "waypoints.sizeFactor"
        | `waypoints.icon.style.${keyof SVGIconStyleOptions}`
        | `waypoints.icon.${WaypointIndexType}.style.${keyof SVGIconStyleOptions}`
        | "waypoints.stopNumbering"
        | `waypoints.label.${Exclude<keyof WaypointLabelConfig, "title">}`
        | `waypoints.highlight.${keyof WaypointHighlightConfig}`
        | "waypoints.entryPoints"
        | `displayUnits.distance.${keyof DistanceDisplayUnits}`
        | `displayUnits.time.${keyof TimeDisplayUnits}`
        | "summaryBubbles.visible"
        | `countryCrossings.${Exclude<keyof CountryCrossingConfig, "label">}`
        | `countryCrossings.label.${keyof CountryCrossingLabelConfig}`
        | {
            [T in DrawnSectionType]: `sections.${T}.${LeafPathOf<
                SectionDisplayConfig<T>,
            >}`
        }[DrawnSectionType]

    The id of a routing knob, its path into RoutingModuleConfig, such as widthFactor or sections.tunnel.color. See routingKnobCatalogue for what each one does.

    Each section type contributes only the knobs SectionKnobOf lists for it.