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

    Type Alias RoutingKnobId

    RoutingKnobId:
        | "visible"
        | "color"
        | "width"
        | "widthFactor"
        | "waypointSize"
        | "waypointSizeFactor"
        | `waypoints.icon.style.${keyof SVGIconStyleOptions}`
        | "waypoints.entryPoints"
        | `displayUnits.distance.${keyof DistanceDisplayUnits}`
        | `displayUnits.time.${keyof TimeDisplayUnits}`
        | "chargingStops.visible"
        | "chargingStops.label.visible"
        | "summaryBubbles.visible"
        | `countryCrossings.${keyof CountryCrossingConfig}`
        | {
            [T in DrawnSectionType]: `sections.${T}.${LeafPathOf<
                SectionDisplayConfig<T>,
            >}`
        }[DrawnSectionType]

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

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