Skip To Content

Near Me widget

The Near Me widget allows you to find features within a buffer of a defined address or location, view more detailed information about those features, and get directions to the selected feature, if desired.

Additionally, the Near Me widget can be configured to find polygon features containing a defined address or location, instead of polygon features within the buffer.

Configuring the Near Me widget

The Near Me widget can be set to open automatically when the app starts. To do so, click the dot on the widget to change it to dark green.

  1. Hover over the widget and click the small edit icon Edit.

    The configuration window for this widget appears.

  2. Optionally click change widget icon and replace it with your own image.

    A file explorer window appears, allowing you to select a local image file to use as the widget icon.

  3. To configure the Search Source Settings section, see the Configuring the Search widget topic. It follows the same configuration steps as the Search widget.
  4. In the Search Settings section of the widget configuration, specify the following options:
    1. Search font color for search results—This is the color displayed in the title section of the search results.
    2. Select search layer(s)—Select a layer or layers to be configured in the widget.
    3. Set location button—Enabling parameter will display the set location button next to the search box. This will allow you to click the set location button, and click the map to set the search location. If you do not enable this parameter, clicking the map will automatically set the location.
    4. Only draw selected search layer results—Enabling this parameter will only display features of the layer selected in the listed search results.
    5. Set buffer visibility—Enabling this parameter will display the buffer.
      • Set buffer distance—Define the default value of the buffer slider.
      • Set maximum buffer distance—Define the maximum value of the buffer slider.
    6. Buffer distance units—Define the units used by the buffer slider, such as miles, kilometers, meters, or feet.
    7. Use geodesic buffe—Enabling this parameter will generate a geodesic buffer instead of a Euclidean buffer (planar).
    8. Address or location symbol—Select and adjust the symbol of the address or location symbol.
    9. Zoom to selected feature—Enabling this parameter will zoom to the selected feature and set location instead of the buffer.
    10. Return intersecting polygon(s)—Enabling this parameter will return the polygon or polygons containing the searched location rather than polygons within the buffer.
  5. Note:
    The widget uses many different elements from the map used in Web AppBuilder for ArcGIS. The list of features displays the layer names in the map, the results of each layer displays from the pop-up title of the map pop-up, and the information panel displays the map pop-up.
  6. Optionally, in the Directions Settings section of the widget configuration, set up the widget to use routing, which allows you the option to get driving directions to the selected feature.
    License:

    The ArcGIS Online network analysis services require an ArcGIS Online for organizations subscription. If you choose to work with this by default, specify a valid user name and password for ArcGIS Online. Each successful request to the service incurs service credits taken from your subscription. In addition, if you have ArcGIS Server network analysis services, you can also specify the URL.

    Tip:

    If you want to share your secure service item with the public, for example, as part of a public web app, store the credentials with the item so the public is not required to log in to get to your app. See ArcGIS Server web services for more information.

  7. To configure the Directions Settings section of the widget configuration, specify the following options:
    1. Routing Service—Click Set and browse to a routing service in your ArcGIS Online organizational account or provide the URL to the routing service.
    2. Direction length units—Select the units used to display directions (kilometers or miles).
    3. Select symbol to display route—Select the display symbol, color, style, transparency, and width to be used for the route.
  8. Tip:
    Routing is enabled and disabled in the application settings of the ArcGIS Online item page of the map used by the widget. If you see the message To enable directions, ensure that routing is enabled in the ArcGIS Online item on the Directions tab and you want to enable directions, go to Application Settings on the items detail page of the map you are using, recheck the routing application setting, and save the map. See Set map options for apps for more information.

Using the Near Me widget

  1. Click the Near Me widget icon to open it.
  2. Define the area you want a buffer around by adjusting the slider to the desired number.
  3. Search for an address in the search bar or click a location directly on the map to define the location to be buffered.

    You will see a list of the features found within the defined buffer for each layer as well as a count of how many features belong to each layer.

    Features found within the buffer distance

  4. Click a layer in the list of results and click the feature you are interested in.
    Information about the selected feature

    You will see information about the feature on the Information tab.

  5. Note:
    If the widget is configured for one layer, you will see a list of all the features found for that layer.
  6. Click the Directions tab if the widget is configured to provide driving directions. It will provide you with driving directions to the selected feature from the defined location.