Optionaldashedtrue draws the line in the style's own dash pattern for it, false draws it solid, and a list
is a dash pattern of your own — the lengths of dashes and gaps in turn, in multiples of the line
width, as MapLibre's line-dasharray takes them. The default depends on the line: a country
border is solid, the other five are dashed.
OptionalopacityAs the plain value: false hides the line, a number in (0, 1] is its opacity. Default true.
OptionalwidthMultiplies the line's width, at every zoom: 0.5 draws it half as wide, 2 twice. The dash
follows, since a pattern is in multiples of the width, and so does the casing under a border.
Default 1.
How a line is drawn, for the groups that are one: borders and paths. Takes the place of the plain
boolean | numberthose groups also accept —state: 0.5andstate: { opacity: 0.5 }say the same thing.