HOW TO

Add a grid layer in ArcGIS Online

Last Published: September 27, 2022

Summary

Grids are used to display coordinates or divide areas in a map. Adding a grid layer in an ArcGIS Online web map is useful to provide a visual aid for determining the distance when zooming in or out. This article describes two possible workflows to add a grid layer in ArcGIS Online using the Gridded Reference Graphic widget in ArcGIS Web AppBuilder or the Create Fishnet tool in ArcGIS Pro.

Procedure

Use the Gridded Reference Graphic widget in ArcGIS Web AppBuilder

In ArcGIS Web AppBuilder, create a grid and publish it as a hosted feature layer in ArcGIS Online. Refer to ArcGIS Web AppBuilder: Use the Gridded Reference Graphic widget for instructions and more information. In this example, the grid layer is created by defining the area by dimension.

The graphic layer displayed in the ArcGIS Online web map.

Use the Create Fishnet tool in ArcGIS Pro

In ArcGIS Pro, create a grid layer using the Create Fishnet tool and publish it as a hosted feature layer to ArcGIS Online.

  1. Launch ArcGIS Pro and log in to ArcGIS Online.
  2. In the Catalog pane, on the Portal tab, click My Content.
  3. Browse to and right-click the hosted feature layer. Click Add To New > Map.
  4. In the Geoprocessing pane, search for and click the Create Fishnet tool. Refer to ArcGIS Pro: Run a tool in the Geoprocessing pane for instructions.
  5. In the Create Fishnet pane, configure the Parameters tab.
    1. Provide a name for Output Feature Class and click Browse The Browse icon. to specify the location for the output feature class.
    2. For Template Extent, select the hosted feature layer from the drop-down list. It automatically changes to As Specified Below when the hosted feature layer is selected.
    3. Specify values either for the Cell Size Width and Cell Size Height parameters, or the Number of Rows and Number of Columns parameters.
    4. Select the geometry type from the Geometry Type drop-down list. Refer to ArcGIS Pro: Parameters for more information. In this example, Polygon is selected.
    5. Click Run.
Note:
The Fishnet Origin Coordinate, Y-Axis Coordinate, and Opposite corner of Fishnet values are automatically specified when the hosted feature layer is selected.
The Create Fishnet tool pane to be configured.
  1. Publish the grid layer as a web feature layer to ArcGIS Online. Refer to ArcGIS Pro: Share a web feature layer for instructions.
The grid layer published successfully to ArcGIS Online.
  1. In ArcGIS Online Map Viewer, add the grid layer to the web map. Refer to ArcGIS Online: Add layers to maps (Map Viewer) for instructions.

The grid layer is displayed in the ArcGIS Online Map Viewer web map.

The grid layer overlaid the polygon layer in the ArcGIS Online web map.

Article ID:000024951

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

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

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options