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

    Variable stylingFoundationsKnobAppliesToConst

    stylingFoundationsKnobAppliesTo: readonly ["any-style", "tomtom-styles"] = ...

    Which styles a knob works on.

    • any-style: every style, whatever its version, since the knob needs no knowledge of the style.
    • tomtom-styles: the TomTom styles this SDK version is verified against. On a style layer it does not recognise, the knob reports itself unavailable instead of doing nothing silently.