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 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 app 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 for this app:

  • Layer effects—Use layer effects to differentiate between features included and excluded in a filter, and specify how features are emphasized and de-emphasized when a filter is applied using the legend.
  • Feature count—Show a count for each feature and a total for all features.
  • Zoom to button—Zoom to features selected in the legend.
  • Screenshot—Capture an image 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.

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