One entry of a LegendSection — a symbol and the text that explains it.
symbol is an untyped style record because a legend entry can describe any renderer's
output (circle, icon, hatch pattern, line dash…); the renderer that owns the layer decides
how to read it. order sorts entries within their section; entries without it keep their
declaration order.
One entry of a LegendSection — a symbol and the text that explains it.
symbolis an untyped style record because a legend entry can describe any renderer's output (circle, icon, hatch pattern, line dash…); the renderer that owns the layer decides how to read it.ordersorts entries within their section; entries without it keep their declaration order.