Skip to content

Legend

A collapsible on-map legend of the displayed layers. In Auto mode it stays in sync with your layer list; in Manual mode you author every section and item yourself.

Parameter What it does
Mode Auto derives sections and items from your layers; Manual lets you edit everything.
Title The heading shown at the top of the legend.
Open by default Whether end-users first see the legend unfolded or as a button.
Sections & items (Manual) Add, remove and reorder sections; each item has a label, a color and a shape.
Position The map corner the widget lives in.

A legend button (or the unfolded legend, if you chose Open by default) in the corner you picked. End-users can fold and unfold it; that state stays local to their session and never alters your configuration.