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

    Type Alias GeometryPaletteMode

    GeometryPaletteMode: typeof geometryPaletteModes[number]

    How a palette colours what a polygon module draws, one colour each.

    • 'cycle' — Each one takes the next colour in turn, starting over after the last (default)
    • 'ramp' — The colours blend evenly from the first to the last, one step each. They blend in OKLCH, so the steps look even and a ramp between two hues passes through vivid colours rather than grey.