Nearby

Use the Nearby template to help people find sites of interest close to an address. This template is useful to help users find focused types of locations (such as schools) within a search distance of an address or place they specify. Optionally, they can adjust distance values to change the search radius and get directions to locations they select.

When you configure this template to use a search distance, set a range for the distance slider so users can define their search buffer or pan the map to see results when showing results on the map. Include directions to help them navigate to locations within a defined search radius. You can also include the screenshot tool to capture images of the map with search results.

To learn more, see the blog article about using Nearby.

Examples

Choose this template to create an app for use cases such as the following examples:

  • Create a store locator app that allows customers to input a location, find a nearby store, and navigate to it.
  • Build an app for finding health care facilities within a specified distance of a searched address.
  • Provide users with directions and information for election polling locations.
  • Build an app for finding nearby trails and viewing an elevation profile of each trail.

Data requirements

The Nearby app requires a feature layer to use all of its capabilities.

App capabilities

The following list includes key settings and capabilities that you can configure for this app:

  • Distance slider—Set a minimum and maximum search radius for finding results.
  • Map extent result—Show all the results in the map view.
  • Cover page—Include a cover page with custom text and logos to establish the purpose of the 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.
  • Results-focused layout—Keep the map out of the app to maintain focus on the search and results.
  • Panel options—Customize result panel location information with feature attributes from a configured pop-up.
    Note:

    The Search tool configuration in the app must include a Locator source value to return results when users click the map to search.

  • Attribute filter—Configure map filter options that are available to app users.
  • Language switcher—Provide translations for custom text and create a multilingual app.
  • Selection colors—Specify the fill and outline colors for highlighting selected features in the map.
  • Basemap toggle—Change the look of the map by switching to a different basemap.
  • Screenshot—Capture an image of the map to export and an option to include search results.
  • Result map scale—Set a map scale for displaying results after a search is performed to override the default map scale or buffer extent.
  • Export—Print or export the search results as a .pdf file that includes the pop-up content of returned features and an option to include the map.
  • Export to CSV—Download the search results as a .csv file.
  • Directions—Provide directions from a searched location to a result location.
  • Elevation profile—Generate an elevation profile graph across an input line feature that can be selected in the scene or from drawing a single or multisegment line using the tool.

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