OptionalcolorBorder/outline color: a hex string or a MapLibre expression (e.g. ['get', 'borderColor']).
Overrides a feature's color property, fill.color,
fill.palette and the top-level
GeometriesModuleConfig.color for the border.
OptionalopacityBorder opacity, 0 (transparent) to 1 (opaque). Also accepts a MapLibre expression.
OptionalwidthBorder width in pixels. Also accepts a MapLibre expression
(e.g. ['case', ['get', 'selected'], 4, 2]).
Line/border configuration for geometries — the outline color, opacity and width.
Remarks
The curated fields cover the common cases; layers.line takes any other line property (
line-gap-width,line-cap,line-dasharray, …).Example