One entry of a layer's styleRules: a predicate and the paint it applies when matched.
styleRules
when and style are both required by the validator despite being optional here — the type describes what may be parsed, the validator what must be present.
when
style
Optional
Predicate selecting the features this rule paints.
Paint properties applied to matching features.
Legend entry derived from this rule.
One entry of a layer's
styleRules: a predicate and the paint it applies when matched.whenandstyleare both required by the validator despite being optional here — the type describes what may be parsed, the validator what must be present.