PROBLEM

Unable to toggle the visibility of the map layers in the Map Layers widget in ArcGIS Experience Builder

Last Published: October 21, 2022

Description

In ArcGIS Experience Builder, the Map Layers widget lists the available map layers and allows users to control the visibility on the map. However, in some instances, the option to toggle the visibility of the map layers is not available in the Map Layers widget when viewing the web experience as displayed in the following image.

The option to toggle the visibility of the map layers not available in the Map Layers widget in ArcGIS Experience Builder.

Cause

  • The ‘Interact with a Map widget’ option is not selected.
  • The ‘Toggle layer visibility’ option is not enabled.

Solution or Workaround

Use one of the following workarounds to resolve the issue.

Select and enable the necessary options in the Map Layers widget

  1. In ArcGIS Experience Builder, depending on the template used, add the Map Layers widget from the Insert widget pane to the map if necessary.
The 'Insert widget' pane with the 'Map Layers' widget being selected in ArcGIS Experience Builder.
  1. In the Map Layers pane, on the Content tab, select the Interact with a Map widget option under Source.
  2. Click the drop-down arrow to select the map.
  3. Under Options, toggle on the Toggle layer visibility option. Toggle on the other options if needed.
The 'Interact with a Map widget' and 'Toggle layer visibility' options are being selected and enabled in the Map Layers pane.
  1. On the builder toolbar, click Save > Publish.
The Save and Publish buttons on the builder toolbar.

Use the Map widget

  1. In ArcGIS Experience Builder, depending on the template used, add the Map widget from the Insert widget pane to the map if necessary.
The 'Insert widget' pane with the Map widget being selected.
  1. In the Map pane, on the Content tab, click Select map under Source to add the data source.
The 'Select map' button being selected to add the data source in the Map pane.
  1. Navigate to Tools and toggle on the Layers option. Configure other settings if needed.
The Layers option being toggled on under the Tools section in the Map pane.
  1. On the builder toolbar, click Save > Publish.

The image below shows the option to toggle the visibility of the map layers is available when viewing the web experience.

The option to toggle the visibility of the map layers available when viewing the web experience.

Article ID: 000028614

Software:
  • ArcGIS Experience Builder

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options