Layer list widget

This page describes an older version, please read about the latest version at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/

The Layer List widget provides Viewer application end users with the ability to turn map services (and their layers) on and off. The list of layers that appear in the widget are the operational layers listed in the Viewer application's main configuration file.

In the graphic below, five operational layers are available in the widget. Each layer has a checkbox that allows end users to easily turn their visibility on or off. For the Earthquakes, Boundaries and Places and Reference layers, they have expansion arrows indicating that they contain sub layers. Visibility for the sub layers can alse be set in this widget.

Screenshots of Layer List widgets

TipTip:

This widget offers similiar functionality found in the Map Switcher widget. Specifically, the "More..." button option that provides visibility control of operational layers. It is recommended to use either the Layer List widget OR the Map Switcher widget "More..." button for a Web mapping application, not both. See the Map Switcher widget documentation for information on how to not display the layerlist in that widget.

Conceptual Workflow

Requires: operational layers

Test drive the LayerList widget or read its tag reference.

2/15/2012