Skip to main content

Layer List control

The Layer List (labelled Layers in the config panel) shows the WebMap's operational layers with visibility checkboxes.

What it does

Renders the native arcgis-layer-list panel so viewers can turn the WebMap's layers on and off, expand group layers, and see each layer's legend swatches. It reflects whatever layers the loaded WebMap contains, so no per-layer setup is needed beyond placing the control.

Configuration

FieldTypeDefaultPurpose
controls.layerListControlPlacement | nullnullCorner placement, or null to hide.

In the config panel

Open Appearance → UI controls and drag the Layers chip onto a corner or into a corner's expand. Drag it back to the tray to hide it.

Behavior

  • Stream layers are flagged with a sensor glyph—the same icon the map card uses for its live indicator.
  • The panel is a larger control; it is framed like the other controls and capped in height so it never dominates the map. When nested in an expand it drops its own frame so the expand provides the single border.
  • It adopts the widget theme (light / dark) automatically.
  • For a curated, pill-style on/off control over a few specific layers, use the Layer Toggle instead of the full layer list.