The Map Contents panel

The Map Contents panel is a central component of the ArcGIS Map Web Part. As you may expect, the Map Contents panel displays the list of layers contained in the map, and you can use it to toggle layer visibility on and off. By default, the panel also shows the symbols used for each layer. But beyond what you may expect of a contents panel, it also shows and can be used to set the selected layer.

For more information on the components of the ArcGIS Map Web Part, see The ArcGIS Map Web Part.

The Map Contents panel displays all the layers that have been added to the map:

Layers in map contents panel

In the preceding screen shot, notice that the Cities layer is highlighted. This indicates that it is the selected layer. The selected layer determines the context for the tools on the Layer and Symbols tabs, as well as the attributes in the attribute table. Put another way, with the Cities layer selected, any tools on the Layer tab or the Symbols tab—such as the Rename button or the Transparency slider—operate on the Cities layer. The attribute table as well shows tabular data from the selected layer. To select a different layer, click its name in the list of map contents.

To show the Map Contents panel, click the Map Contents button on the Map tab of the web part's ribbon.

Map Contents button

Configuring the Map Contents panel

The Map Contents panel now displays symbology for layers. Legend configuration includes the following display mode options:

Map Contents legend example

Additional Map Contents configuration options include specifying which layers to include in the Map Contents, whether to show the basemap layer, and the ability to show only the layers visible at the current scale.

To configure the Map Contents panel, see the following steps:

  1. Click the Controls button in the Manage category of the ArcGIS Map Web Part Application tab.
    Controls button in the Manage category
  2. Click the Map Contents Configure button in the Configure Controls dialog box that appears.
    Configure Controls dialog box
  3. In the Configure Map Contents dialog box, choose the Layer Display Mode, check the check box for any desired options, and specify layers to be excluded from the Map Contents.
    Configure Map Contents dialog box
  4. Click Done when you are finished, then click Close on the Configure Controls panel.

11/30/2012