Summary
In ArcGIS Experience Builder, coordinate results returned by some widgets can be displayed in specific formats such as latitude-longitude (Y, X), where latitude values are displayed before longitude values in decimal degrees (DD). This provides a consistent method for representing spatial information on a map and enables precise location referencing for mapping and spatial analysis.
This article provides the options to display coordinates in latitude-longitude order in ArcGIS Experience Builder.
Procedure
Configure the Coordinates widget
- Create a web experience and add a Map widget in ArcGIS Experience Builder. Refer to ArcGIS Experience Builder: Create your first web experience for instructions.
- In the Insert widget panel, under Map centric, drag and drop the Coordinates widget onto the canvas.
- In the configuration panel, configure the following settings:
- For Select a Map widget, click the drop-down arrow and select the map under Current page.
- For Output coordinate system, ensure the map’s coordinate system is used. Optionally, click New coordinate system to add and configure the preferred coordinate system.
- Under Display options, for Display order, select Latitude/Longitude (Y, X).
- Save, preview, and publish the experience.
The experience below shows the coordinates in latitude-longitude order in the Coordinates widget.
Configure the Coordinate Conversion widget
- Create a web experience and add a Map widget in ArcGIS Experience Builder. Refer to ArcGIS Experience Builder: Create your first web experience for instructions.
- In the Insert widget panel, under Map centric, drag and drop the Coordinate Conversion widget onto the canvas.
- In the configuration panel, for Select a Map widget, click the drop-down arrow and select the map under Current page.
- For Address settings, ensure the default geocoding service is used. Optionally, click Select utility to add and configure the preferred geocoding service.
- Expand Output settings and click Add new labels to create a new output notation.
- In the Add Conversion dialog box, set the following configurations:
- For Default coordinate, select Long-Lat from the drop-down list.
- For Label, specify the label name for the output notation. In this example, it is Latitude-Longitude.
- For Format, highlight the content, remove the existing format, and type Y°, X° in the text box.
Note:
Optionally, select the Add new conversion at the top of the list option to display the new output notation at the top of the widget’s output section.
- Click OK.
Note:
Optionally, deselect unused output coordinate formats under Output settings to prevent them from being displayed in the widget.
- Save, preview, and publish the experience.
The experience below shows the coordinates in latitude-longitude order in the Coordinate Conversion widget.
Configure the Search widget
- Create a web experience and add a Map widget in ArcGIS Experience Builder. Refer to ArcGIS Experience Builder: Create your first web experience for instructions.
- In the Insert widget panel, under Data centric, drag and drop the Search widget onto the canvas.
- In the configuration panel, select Interact with a Map widget. Click the drop-down arrow and select the map under Current page.
- Toggle Customize search sources on and click ArcGIS World Geocoding Service. Optionally, click New search source to add and configure a locator source.
- In the Set locator source panel, under Search options, for Display fields, select X and Y from the drop-down list.
Note:
Optionally, deselect Default Address from the Display fields drop-down list.
- Drag the Y field to be above the X field.
- Save, preview, and publish the experience.
The experience below shows the coordinates in latitude-longitude order in the Search widget.