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

    Type Alias MapThemeExtractionOptions

    MapThemeExtractionOptions: MapThemeOptions & { colorCount?: number }

    Options for deriveMapColorsFromImage and deriveMapColorsFromCss, which extract a few colours from their source before assigning them roles.

    Type Declaration

    • OptionalcolorCount?: number

      The most colours to extract. Default 6.