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.
fillStyle
Reachable ranges have their own module, ReachableRangesModule, drawn in these styles too.
const zones = await GeometriesModule.create(map, fillStyledGeometryConfig({ palette: ['#e63312', '#1d3f8a'] })); Copy
const zones = await GeometriesModule.create(map, fillStyledGeometryConfig({ palette: ['#e63312', '#1d3f8a'] }));
Config that draws each polygon by its own fill style, optionally coloured from a palette.
Includes data-driven expressions so each feature's
fillStyleproperty controls its styling, line labels config, and positions layers below map labels.Reachable ranges have their own module, ReachableRangesModule, drawn in these styles too.