PROBLEM

XY data are not displayed automatically in ArcGIS Online

Last Published: April 25, 2020

Description

In ArcGIS Online, clicking a feature does not display the XY data in the pop-up window. The XY data of the pointer location is also absent in Map Viewer. Both functionalities exist in ArcMap and ArcGIS Pro, where XY data are displayed at the bottom of the map view and in the feature pop-up window, as shown in the images below:


This is the XY data displayed in ArcMap (left image) and ArcGIS Pro (right image).

Cause

This is a known limitation in ArcGIS Online. ArcGIS Online Map Viewer or the feature pop-up window does not display XY data automatically, unless configured.

Solution or Workaround

To display the XY data in ArcGIS Online Map Viewer
Note:
This method only displays the XY data of a single dropped pin. Users cannot save the result, make a list of the XY data of multiple dropped pins, or extract the XY data of pinned locations. To make a list of the desired XY data, copy and paste the values manually into a text editor.
  1. In ArcGIS Online, click Measure.
  2. Select the Location button.
    Note:
    Click the Degrees drop-down button to select the XY data format.
    
    This is the Degrees field.
  3. Click anywhere on Map Viewer to find the XY data of the dropped pin.

    The Measurement Result field shows the Latitude and Longitude of the pointer at any instance, and the location of the dropped pin.

    This is the Measure section.
     
To extract the XY data of all the features in the dataset
To extract the XY data of all the features, refer to How To: Append spatial coordinates into a CSV file containing addresses using ArcGIS Online.
 
Note:
Upload the extracted data as a CSV or TXT file into Map Viewer for the XY data to appear in the pop-up window of each feature.

This is the CSV file with the XY data uploaded.

To view the XY data in web applications created or shared from ArcGIS Online

For Web AppBuilder for ArcGIS
  1. In the Widget tab of Web AppBuilder for ArcGIS, enable the Coordinate widget.

    This is the Coordinate widget.
     
  2. In the map view, navigate to the bottom left section, and click the Click to enable clicking map to get coordinates icon as shown in the image below.

    This is the coordinate shown in map view.  
    Note:
    Clicking this icon displays the XY data of the dropped pin. Otherwise, the XY data change according to the movement of the pointer.
  3. Drop the pin anywhere on the map. The XY data show the longitude and latitude of the dropped pin.

    This is the XY data of the dropped pin.
     
For the Basic Viewer template
  1. In the Basic Viewer template, click the Options tab.
  2. Under the Toolbar Options section, enable Measure Tool. Click Save.

    This is the Options tab.
     
  3. In the map view, click the Measure tool.
  4. Click the Location icon.
  5. Click anywhere on the map view to find the XY data of the dropped pin.

    The Measurement Result field shows the Latitude and Longitude of the pointer at any instance, and the location of the dropped pin.

    This is the Location tool.

Article ID: 000019995

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options