ArcGIS Blog

Mapping

ArcGIS Online

Configure layer attribute search in maps and apps

By Bern Szukalski

Search in Map Viewer is used to find places on a map. Search is located in the lower right, alongside the Settings (light) toolbar. By default, Map Viewer and ArcGIS Instant Apps use the ArcGIS World Geocoding Service locator to find addresses, places, landmarks, points of interest, and XY coordinates worldwide.

Search in Map Viewer and apps can be refined or extended in a several ways. For example, map authors can configure one or more layers and attribute fields in the map to be used in search. In a similar way, apps can also be configured with one or more layers and attribute search sources.

Follow this tutorial to learn more about configuring layer and attribute search source in maps and apps.

Quick links

Use these links to jump to a section of interest.

Configure layer and attribute search in maps
Configure layer and attribute search in apps
More information

Configure layer and attribute search in maps

You can follow along using the Florida Springs example map, or use the Florida Springs layer to create and configure search in your own map. Whether starting with the example map or example layer, Sign in to save the map to your Content.

Step 1 — Sign in to your ArcGIS account and save the map.

Step 2 — Open the map item details and click Settings.

 

Web map settings

Step 3 — Scroll down in settings to locate the Application Settings section. Check the By Layer box to enable search using a map layer.

Enable search by layer

Step 4 — Complete the Application Settings.

(a) – Enter the hint text. This is the string that will be displayed when search is used.

(b) – Choose the layer and and search field from the drop-down. You can also choose from Contains or Equals for applying the search string.

When finished, click Save.

Step 5 — Open the web map and use search. The search tool displays the newly added layer attribute search along with the default ArcGIS World Geocoding Service (unless your organization has configured a custom locator). The default is to use All locators when searching.

Search options

Step 6 — Select Florida Springs: Spring Name from the search drop-down, as shown above.

Step 7 — At the Enter spring name prompt, begin typing to find matches.

Search for spring name

Choose a match to open its pop-up and zoom to the location.

Search match

Configure layer and attribute search apps

ArcGIS Instant Apps can be configured to use a layer attribute search similar