Document toolboxDocument toolbox

Legend widget

The Legend widget displays labels and symbols for layers in the map. It supports dynamic, tiled, image, feature, and KML layer types as well as WMS layers with an associated legend URL. When no operational layers are rendered in the map, the Legend widget is blank.

The order in which layers appear in the Legend widget corresponds to the layer order in the map. 

Use the Legend Widget

  1.  Clicking the Legend widget displays the Legend window. Clicking the X in the upper right corner of the Legend window closes it.

Click to enlarge image