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

    Function fillStyledGeometryConfig

    • Config that draws each polygon by its own fill style, optionally coloured from a palette.

      Includes data-driven expressions so each feature's fillStyle property controls its styling, line labels config, and positions layers below map labels.

      Reachable ranges have their own module, ReachableRangesModule, drawn in these styles too.

      Parameters

      Returns GeometriesModuleConfig

      const zones = await GeometriesModule.create(map, fillStyledGeometryConfig({ palette: ['#e63312', '#1d3f8a'] }));