The value a knob is at: the one set, otherwise what the module itself is at where it knows it (StylingFoundationsModule reads the loaded style), otherwise the catalogue's default.
StylingFoundationsModule
A map module, or a plugin with knobs, such as MapEffects.
MapEffects
Its knob catalogue.
The knob's id.
The value, or undefined where nothing gives one: a knob with no default, or a style value that is a data-driven expression.
undefined
Error for an id the catalogue lacks.
Error
for (const knob of stylingFoundationsKnobCatalogue) console.log(knob.id, getKnob(styling, stylingFoundationsKnobCatalogue, knob.id)); Copy
for (const knob of stylingFoundationsKnobCatalogue) console.log(knob.id, getKnob(styling, stylingFoundationsKnobCatalogue, knob.id));
The value a knob is at: the one set, otherwise what the module itself is at where it knows it (
StylingFoundationsModulereads the loaded style), otherwise the catalogue's default.