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

    Variable paletteModesConst

    paletteModes: readonly ["pick", "blend"] = ...

    How a building or a landmark takes its colour from a palette:

    • pick: one of the palette's colours.
    • blend: a mix of two neighbouring colours, anywhere along the palette, so a palette of a few shades gives a gradient of them.