ArcGIS Experience Builder

Recreating Near Me workflows in Experience Builder

With the June 2023 update of ArcGIS Online, the Near Me widget is now available as beta in ArcGIS Experience Builder. This new widget provides similar functionalities as the Web AppBuilder Near Me widget. As you migrate to Experience Builder, you can leverage this new widget for your Near Me workflows in Experience Builder.

Let us assume you have a Web AppBuilder app that is used by the public to locate nearby parks and obtain information about the available recreational activities in each park. You want to migrate this app to Experience Builder. Here’s how to do it in four steps:

Create a new app

First, you’ll create an app in Experience Builder:

  1. Sign into your ArcGIS account.
  2. From the Content page, click Create app and click Experience Builder.
  3. Click Create New.
  4. Choose a mapcentric template and click Create.

See an example of an application using the Blank fullscreen template.

  1. In your app, add a Map widget. Near Me is mapcentric widget, so you need to add at least one map with a feature layer.

For my app, I chose a map that has park and recreational activity features.

  1. Add the Near Me (Beta) widget to your app and connect it to the map.

Add and configure the Search widget

You want to provide the option for users to set an address or a location and find which parks are nearby, or for them to search a park and obtain information about different activities available.

  1. Add the Search widget into the map.
  2. Click New search source
  3. Click on Locator source, then click on Select utility and select a geocode locator.

In the sample application I used ArcGIS World Geocoding service.

  1. Click New search source again and configure a Layer source.

I used Parks feature layer.

  1. Make sure that Enable filtering for layer search source is turned off if you configure a feature layer.
  2. Expand Search result and check Auto select the first result.
  3. On the Action tab, click Add a trigger.
  4. Select Record selection changes as a trigger.
  5. Select Near Me (Beta) as a target from the Widgets list and Set location as an action to use the searched location as an input location in the Near Me (Beta) widget.

 

Search widget configuration

Add and configure the Filter widget

Next, you’ll add a way for users to filter your map for specific criteria,

  1. Add a filter for each criterion.

In my sample application, I included filters for accessibility, RV camping, swimming, picnic, and fishing facilities.

  1. Make sure AND is selected to specify that all filter criteria must be true.
Filter widget configuration

3. Select arrangement style Icon and activation style Toggle switch from the content tab of the widget.

Configure the Near Me widget

Now that you’ve created your app, you’ll configure the Near Me widget by configuring the map, search, and analysis settings.

Configure Map Settings

  1. Click the Near Me (Beta) widget.
  2. In the Content panel, under Map Settings, select your map.
  3. Click the map to configure its settings.

Configure Search settings

  1. Make sure Search by Location is selected.
  2. Set the default distance.

Because users want nearby results, I set my default distance to 15 miles

Configure Analysis settings

Setting up analyses is the key step when configuring the Near Me (Beta) widget, the widget will not work until at least one analysis is configured. To configure the analysis settings, follow these steps:

  1. Click Add Analysis
  2. Select the layer
  3. Change the label to specify nearby.

I changed my label to Nearby parks.

  1. From the Analysis Types dropdown, choose Proximity.
  2. From the Display field dropdown, choose a field to use as feature title.

In the sample app I chose Facility Name.

  1. Enable Expand on open to expand the list.
  2. Save the app.

Find nearby parks

Finally, you’ll verify that the Near Me (Beta) widget works as expected.

  1. Launch the app.
  2. Click the Filter widget and turn on a filter.

If your map filters to show only facilities that meet your search terms, great! I chose to filter for fishing facilities. After filtering, only the parks that have fishing available are shown on the map. You can search a location using search widget to use the location as an input in the Near Me (Beta) widget. As an alternative, a user can drop a point to find nearby parks within the search distance and obtain detailed information about those parks.

Related resources:

1 Comment
Oldest
Newest
Inline Feedbacks
View all comments

Next Article

The City of Grimes, Iowa, benefits from the Sign Management solution

Read this article