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...

    Type Alias StylingPreset

    A named bundle of knob settings — TomTom's cartographic opinions, in code. Apply one with StylingModule.applyPreset.

    type StylingPreset = {
        description: string;
        id: StylingPresetId;
        name: string;
        settings: StylingSettings;
    }
    Index
    description: string

    One line on the use case the preset serves.

    name: string
    settings: StylingSettings

    The knob values the preset applies; the same shape StylingModule.applyConfig takes.