Skip To Content
ArcGIS Developer
Dashboard

Coordinate widget

(Added at v2.1)

The Coordinate widget displays x,y coordinate, elevation, and camera altitude values in your 3D app. With the default coordinate system of the web scene, these values change dynamically when the pointer moves on the scene. Multiple spatial references can be configured, and the coordinate values display based on the spatial reference you choose.

Configure the Coordinate widget

By default, the Coordinate widget displays coordinates in the WGS_1984_Web_Mercator_Auxiliary_Sphere (WKID 3857) projection. To display coordinates in other projections or datums, add spatial references during the configuration.

  1. Hover over the Coordinate widget and click the small show or hide button Show or hide widget to show or hide this widget in your app.
  2. Hover over the widget and click the Configure this widget button Configure this widget to open the configuration window.
    Note:

    If you need to add the widget to the app first, click a widget placeholder on the Widget tab. In the Choose Widget window that opens, select the widget and click OK.

  3. Optionally click Add Output Coordinates System to display other projections.
  4. Provide a valid WKID in the Output Coordinate System WKID box, choose a display unit, and provide a valid WKID in the Datum Transformation WKID box if the datum of the output coordinate system is different from the default.
  5. Set the elevation and eye altitude in metric or English units.
  6. Click OK.

    The spatial reference you just defined is added to the list. Repeat steps 1 through 5 to add other spatial references if necessary.

  7. Optionally click the edit button under Actions and change the coordinate system and display units. Click OK.
  8. Under the output coordinate system table, choose the decimal places to which to round the coordinates.
  9. Choose the decimal places to which to round the eye altitude.
  10. Uncheck the box if you don't want to show the thousand separators.
  11. Select the display order of the coordinates.

    Configure Coordinate window

  12. Click OK.

Use the Coordinate widget

When the app starts, it displays the coordinate system at the top of the Output Coordinate System Name list. For the default coordinate system of the web scene, the coordinates, elevation, and camera altitude values will change automatically when you move the pointer on the scene.

Display default coordinate system

Click the coordinate system button Coordinate system to enable clicking the scene to get coordinates and elevation. In this way, you can add a point to the scene, highlight all the values, and make a copy of them.

Click the arrow on the widget to display a list of spatial references specified in the configuration. When you choose one from the list, it becomes active.

Display a list of spatial references

For most spatial references, except WKID 3857 and 4326, you have to click the coordinate system button Coordinate system again to display the coordinates and elevation by adding a point on the map. You can also highlight all the values and make a copy of them.