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

    Variable stylingKnobAppliesToConst

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

    Which styles a knob works on.

    • any-style: every style, including a custom one of your own.
    • tomtom-styles: the TomTom styles this SDK version is verified against. On any other style the knob reports itself unavailable instead of doing nothing silently.