PROBLEM

Inconsistent search results returned in ArcGIS Instant Apps Nearby template

Last Published: October 28, 2025

Description

A location search using the ArcGIS Instant Apps Nearby template search bar returns multiple and inconsistent results instead of the preferred, closest result.

The images below show two separate searches for the same location returning inconsistent results, one with 10, and another with two.

The inconsistent numbers of results are returned in the ArcGIS Instant Apps Nearby template

Cause

  • The 'Return closest results' setting is not enabled, which causes all matching features to be returned instead of only the nearest.
  • By default, the search method is set to map extent. As a result, all search results within the map view are displayed rather than limiting the results to the closest feature.

Solution or Workaround

Enable the ‘Return closest results’ setting

  1. Log in to ArcGIS Instant Apps and click the My Apps tab.
  2. Browse to the app and click Configure.
  3. In the configuration panel, toggle Express off to access the app's complete configuration settings.
The Express option
  1. In the Turn off express mode window, click Continue.
The Turn off express mode window
  1. Click Nearby > Panel options.
  2. Toggle Return closest results on.
The Panel options panel and the Return closest results option
Note: 
Optionally, click Search settings on the side panel, search for and click Return closest results to access the setting.

The ArcGIS Instant Apps Nearby template shows only the closest result.

The only closest result is returned in ArcGIS Instant App Nearby template

Use the search radius method to return results

Use the search radius instead of the map extent method to limit the results to features within a specified distance of the search location.

  1. Log in to ArcGIS Instant Apps and click the My Apps tab.
  2. Browse to the app and click Configure.
  3. In the configuration panel, toggle Express off to access the app's complete configuration settings.
  4. In the Turn off express mode window, click Continue.
  5. Click Nearby > Search method.
The Search radius method
  1. Under Search method, click Search radius.
  2. For Search units, specify the default unit for the search distance from the drop-down list.
  3. For Default distance, specify the Minimum search distance, Maximum search distance, and Default distance.
The Search radius panel

Article ID: 000038277

Software:
  • ArcGIS Online
  • Configurable Web Apps

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options