A map widget displays the content of a map and provides access to the data the map contains. The data is available through configurable tools that work with the map as well as through data sources that other widgets can consume.
A map widget is often the primary data provider for the operation view, and map layers serve as a data source for other widgets. For example, your map widget might contain damage reports and evacuation shelter occupancy levels following an earthquake, which can then display in a chart or gauge widget.
Maps used in the operation view are authored and saved in your ArcGIS organizational account. These maps can contain one or more layers. When you add a map widget to the operation view, you can set options for the map's layers, including the individual layers that serve as data sources for other widgets and whether the features are selectable. You can also create a filter with a query to create a data source that only includes a certain set of features from the layer and is usable by other widgets.
With a map of operations related to an earthquake emergency management scenario, you might have a combination of settings among the layers. For example, some layers could be dynamic and refresh at an interval while others are static references. The dynamic layers in the map could include point layers of fire truck and police car positions that are being reported regularly through GPS. You are also likely to want to use these layers as input data sources for other widgets, such as a gauge widget that shows the remaining fuel quantity of each vehicle. On the other hand, the same map could have a roads layer that does not change. The roads are also not going to be used as inputs to other widgets, so you do not need to set it as a data source.
By default, layers with a refresh interval in the map are set to dynamic, and the specified refresh interval is honored.
When editing the operation view, you can override the refresh interval on each layer in the map with a single refresh interval for all dynamic layers. To specify a single refresh interval, go to the Widgets menu and click Refresh Settings. Set the refresh type to use a single interval to update data sources, and specify a refresh interval. When using a single refresh interval, you can also override for each layer whether it is static or dynamic.
In addition to configuring the data sources for your map widget, you can configure how a user can interact with the map in your operation view, including available feature actions and whether tapping or clicking a feature displays its pop-up.
Feature actions add display and navigation functions to individual features. For example, the highlight action allows users to flash a feature, while follow tracks a particular feature as it moves without having to pan manually to keep the feature centered in the map.
Feature Pop-ups enables users to tap or click a feature on the map to display the pop-up. The content of the pop-ups is authored and stored within the source map. For pop-ups to be used effectively in a map widget, they should have been authored with understandable field names, only useful and appropriate fields, properly formatted text, and images or hyperlinks, if desired.
When configuring a map widget, you can enable additional map tools for users of your operation view, such as spatial bookmarks and feature selection. These tools are displayed on a toolbar within the map widget. Basic map navigation, such as panning and zooming, is always available in a map widget and does not require you to enable any additional functionality.
When creating the map, configure the search in the item details page of the map. Choose which search types to enable: By Layer, By Address, or both. Provide hint text so that users of your operation view know what they can search. For layer (feature) search, provide the field to search and the search operator to use. For more information, see Configure feature search in the ArcGIS Online help.
When configuring the Find Places map tool, you need to specify which unit notations, such as latitude-longitude or MGRS, are valid for input; only results for the formats you choose are returned in a search. The Find Places box appears in the map widget window.
In some cases, you may want to work with only a subset of features that have a particular attribute value or fall within the current extent. For example, when mapping earthquake reports, if the layer contains polygons for recent earthquakes in other regions, you might want to limit the data source to only features that are from the incident you're mapping. Because earthquakes are often given a name attribute, you could create a filter with a query to display just the polygons that match the name of your event. You might also want to add a filter that queries a date field to identify aftershocks that have occurred within the last six hours, or limit your results only to the features that are in the extent of the map you are viewing.
There are three places where you can create filters for your operation view: in the map, using the Layer Filters tool, and on a data source from the map. The type of filter you create determines how that filter can be used.
In the map
Using the Layer Filter tool
On a data source from the map
Affects map widget (display)
Affects other widgets
User can turn it on and off
With the map
In the Layer Filter tool's settings
During map widget configuration
Limit to current extent
Optionally specified by the author during map widget configuration
When the user never wants to see or know about parts of the data
When the user can toggle the filter to change the operation view data
When a particular widget is about a subset of the data