Maps play a central role in many dashboards and are often the most effective way to display geographic information. In a dashboard, a map or scene's operational layers can also be used by other data-driven elements to create interesting, intuitive, and compelling visualizations. Map elements display web maps authored in applications such as Map Viewer, as well as web scenes authored in applications such as Scene Viewer. See Create web maps for dashboards for best practices.
A dashboard can contain multiple map elements, or none at all. When it doesn't contain any, you can create the dashboard using web layers available to you. See Dashboard data sources for details.
The map element includes settings that can be switched on or off at design time:
The settings you see depend on whether the map element is displaying a web map or web scene.
- Scalebar—Displays a scale bar in the lower section of the map. The supported styles are line and ruler. When users are signed in, the display units reflect their profile settings. For anonymous access users, the style is always line and the units are dual (both United States and metric).
- Default extent and bookmarks—Provides preexisting bookmarks on your map and a way to return to the map's initial extent.
- Initial view and slides—Provides preexisting slides on your scene and a way to return to the scene's initial view.
- Legend—Displays the map or scene's legend.
- Layer visibility—Allows you to switch operational layers on or off.
- Basemap switcher—Allows dashboard users to change the basemap at run time.
- Search—Allows users to find locations or search features in the map or scene. By default, search uses settings configured in the map or scene. If these are not set, Dashboards uses the ArcGIS World Geocoding Service. For more information, see Search locations and features.
- Compass—Shows the map or scene's rotational angle. When a user clicks the compass, the map or scene reorients to point north.
- Find my location—Zooms and centers the map or scene to the approximate location of the user's device.
Find my location requires location permissions to be enabled by the dashboard user from the browser for desktop views and location services enabled on their device for mobile views.
- Pan/rotate— Allows you to switch between pan and rotate to navigate a scene.
- Zoom in/out—Allows you to zoom in or out on a map.
- Point zoom scale—Allows you to set the zoom scale used when a zoom action is configured on a map.
A map and its operational layers can be important in interactive dashboards. Both can be either the source or the target of an action. You can configure map actions on the Map actions tab of the map element's configuration and layer actions on the Layer actions tab.
A map can be the source or target of an action. When the map is the source of an action, a change in the map's extent can filter one or more elements on the dashboard, or change the extent of another map element.
Map extent filter actions are not supported for web scenes.
When the map is a target of an action, selections made on one or more elements can prompt the map to pan, zoom, show pop-ups, flash, or follow a feature.
A map's operational layers can be the source or target of an action. When a layer is the source of an action, selecting one or more features from the layer can filter one or more elements on the dashboard, or initiate a flash action on the map.
When layer actions are configured, dashboard users can select features from a layer by clicking the features on the map. You can use the When map is clicked options to determine whether selecting features on the map opens the pop-up, selects the feature, or both.
Optionally, you can enable additional selection tools, including Rectangle, Lasso, Circle, and Line, to allow users to select multiple features at once by drawing on the map.
Tip:You can add to a selection by holding the Shift key and selecting more features.
When a layer is the target of an action, selections made on one or more elements can filter the layer to show only what is selected.