Unsets one knob, so the module is back at its own value for it, as getKnob reads it. To unset every knob, use the module's resetConfig, which resets the rest of its configuration too.
resetConfig
A map module, or a plugin with knobs, such as MapEffects.
MapEffects
Its knob catalogue.
The knob's id.
Error for an id the catalogue lacks.
Error
resetKnob(styling, stylingFoundationsKnobCatalogue, 'labels.sizeFactor'); Copy
resetKnob(styling, stylingFoundationsKnobCatalogue, 'labels.sizeFactor');
Unsets one knob, so the module is back at its own value for it, as getKnob reads it. To unset every knob, use the module's
resetConfig, which resets the rest of its configuration too.