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

    Type Alias StylingKnob

    StylingKnob: KnobEntry<StylingKnobId, StylingKnobKind> & {
        appliesTo: StylingKnobAppliesTo;
        default?: never;
        id: StylingKnobId;
        range?: StylingKnobRange;
    }

    One entry of stylingKnobCatalogue: what a UI or a coding agent needs to offer the knob and validate a value for it, with no map loaded. It carries no default: the loaded style decides, and StylingModule.get reads the value in force.

    Type Declaration