Interactive Legend

The Interactive Legend template allows users to filter layers in the map by changing the visibility of features based on categories and ranges in the legend. This allows them to explore the map holistically or to focus on the categories that are most relevant to them. Choose from paired feature-specific effects, such as bloom and blur, to distinguish between selected items in the legend and the remaining data. Choose from several muted options to emphasize selected items in the legend while other items remain on the map in muted colors. You can include the Screenshot tool to allow users to capture images of the map.

To learn more, see the ArcGIS Blog article about using Interactive Legend.

Examples

Choose this template to create an app for use cases such as the following examples:

  • Form a better understanding of the spatial relationship between map features by changing the visibility of the content.
  • Present economic data relevant to numerical range values of interest during a seminar.
  • Analyze crime data to facilitate decision making of law enforcement distribution pertaining to specific crime categories.

Data requirements

The Interactive Legend template requires a feature layer to use all of its capabilities. The following drawing styles are supported:

  • Types (Unique symbols)
  • Counts and amounts (Size) - Classify Data Checked
  • Counts and Amounts (Color) - Classify Data Checked
  • Relationship
  • Predominant Category
  • Predominant Category and Size (Partially interactive)
  • Types and Size (Partially interactive)

App capabilities

The following list includes key settings and capabilities that you can configure to create an app with this template:

  • Visualization mode—Apply layer effects to differentiate features that belong to selected legend categories from the rest of the features in the map. For example, the Drop Shadow + Gray effect is recommended for light basemaps to make emphasized features look like they are floating. It applies a drop shadow to emphasize the features that match search results and grayscale to de-emphasize remaining features that are excluded from the search results.
  • Feature count—Show a count for each feature and a total for all features.
  • Zoom to button—Zoom to features selected in the legend.
  • Export—Capture an image (PDF, JPG, or PNG) from the app that a user can save.
  • Navigation boundary—Restrict map navigation to a particular region and zoom scale to maintain focus on key map areas. You can also rotate the map or prevent map rotation.
  • URL parameter—Open the app to a predefined feature using a custom URL parameter.
  • Language switcher—Provide translations for custom text and create a multilingual app.
  • Compact mode—Reduce the legend elements and remove individual feature count.

All Instant Apps templates include settings for a Home button and zoom controls, a legend, and the capability to search the map or data.