PROBLEM

Filters applied to the ArcGIS Online web map do not reflect in the map legend

Last Published: April 25, 2020

Description

In ArcGIS Online, filters applied to the web map are not reflected in the map legend.

The image below shows the occurrence of earthquakes in an Oklahoma county ranging from a magnitude of 1.4 to 5.6. The drawing style uses the Counts and Amounts (Size) symbology.


This is the map viewer being applied a filter.
 

After the filter is applied to include earthquakes of a magnitude of 3.0 to 4.0, the map legend still shows earthquakes of a magnitude of 1.4 to 5.6 although the data in the map viewer honors the filter criteria.


This is the map viewer after the filter is applied.

Cause

This is a known limitation in ArcGIS Online.

Solution or Workaround

Follow the instructions below to ensure the map legend in ArcGIS Online displays according to the filter criteria:

  1. After applying the filter, click the Change Style icon This is the Change Style button. to open the Change Style pane.
  2. In the Change Style pane, specify the Choose an attribute to show field from the drop-down menu, and select Types (Unique symbols) as the new symbology type.

    Ths is the Change Style pane.
     
  3. Click OPTIONS.
  4. Reorganize the data in the Click to edit symbol or label section by grouping the data to be excluded from the map legend into the Other category.

    This is the 'Click to edit symbol or label' section.
Note:
Below are some suggestions to reorganize the data in the Click to edit symbol or label section:

• Move the data to be excluded from the map legend into the Other category.
• Move the data to be included in the map legend from the Other category by clicking the Move all values out button This is the Move all values out button..
• Move only selected data from the Other category by clicking the Move value out button This is the Move value out button. of each data.
• If necessary, rearrange the position of the data based on the LABEL value. By default, data are arranged in descending order of the COUNT value. The position of items in the map legend is based on the LABEL value.
  1. Uncheck the Other check box to exclude the values in the Other category from the map legend.

    Uncheck the Other check box.
     
  2. Click OK > DONE.

    The image below displays only the filtered data (earthquakes ranging from a magnitude of 3.0 to 4.0) in the map legend and in the map viewer based on the Types (Unique symbols) symbology.

    This is the result using Types (Unique symbols) symbology.
Note:
To represent the data in a range of values, select the Counts and Amounts (Size) option, and check the Classify Data check box. For more information on different types of symbology, refer to ArcGIS Online: Style numbers.

Check the Classify Data check box to create range values.

The image below shows the filtered data in the map legend and in the map viewer based on the Counts and Amounts (Size) symbology.

This is the result using Counts and Amounts (Size).

Article ID: 000018883

Software:
  • ArcGIS Online

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