PROBLEM

The Near Me widget freezes and does not return results in Web AppBuilder for ArcGIS

Last Published: April 25, 2020

Description

The Near Me widget configured with the Direction settings in a Web AppBuilder for ArcGIS application is used to find features within a buffer and to get driving directions to a defined location. In some instances, when using the Near Me widget to get directions to a selected feature, the widget freezes and does not return any result.

Cause

One probable cause is the shape field of the search layer(s) configured with the Near Me widget is hidden. The shape field is the geometry field for the layer(s), and it is required to perform a spatial query on the layer(s).

Solution or Workaround

To solve this issue, make the shape field of the layer(s) visible in ArcMap or ArcGIS Pro, and republish the layer(s) to ArcGIS Online to be used in Web AppBuilder for ArcGIS.

  1. In ArcMap or ArcGIS Pro, add the layer(s) to the map and make the shape field visible.
    • For ArcMap, refer to the Solution section of the following document, 24048: Shape field is not visible.
    • For ArcGIS Pro, refer to The fields view to open the fields view, and check the check box for the Shape field in the Visible column. Click Save to save the edits.

      An image of the layer's fields view pane.
       
  2. Publish the layer(s) to ArcGIS Online. Refer to Publish hosted feature layers for steps to do this.
  3. In ArcGIS Online, add the new feature layer(s) to the web map used to create the web application.
  4. Create a new web application from the web map containing the new feature layer(s).
  5. In Web AppBuilder for ArcGIS, add and configure the Near Me widget to use the new layer(s) as the search layer(s).
The image below shows the result of the Near Me widget configured with the Direction settings.

An image of the Near Me widget result.

Article ID:000019907

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic