Skip To Content

Snapping

Snapping is a feature drawing aid that helps control the accuracy of the pointer when drawing geometries near a vertex or other geometry. When snapping is on and you hover near a feature, the pointer is snapped to the geometry if it is within the snapping tolerance.

Note:

If you've updated the snapping configurations for a web map in another app using the same browser, the configurations will be used by default in ArcGIS Web Editor and vice versa.

Z-values are not currently considered when snapping features.

Snapping options

Click Snapping options on the general toolbar to configure snapping for the web map. The following configurations are available:

ConfigurationDescription

Enable tooltips

When enabled, tooltips are visible while creating or editing features. The tooltip displays the latitude and longitude at which the point or first vertex is placed. After the first vertex is placed, the tooltip for line features displays the deflection (angle) and distance from the last vertex and the total length of the line. The tooltip for polygon features displays the deflection (angle) and distance from the last vertex and area of the polygon.

Tooltips can also be turned on or off by pressing T on your keyboard.

Enable snapping

When enabled, configurations for geometry guides, feature to feature snapping, and snapping layers are available.

Geometry guides

When enabled, geometry guides display visual cues to help you identify when you're drawing lines that are perpendicular or parallel to other lines in the feature. These guides are used for line and polygon features.

In the image below, a square appears where two lines are perpendicular to one another, and small lines appear on either side of the line that is being drawn parallel to another line in the polygon.

Right angle and parallel guides

Feature to feature

When enabled, the vertices of the feature you draw will snap to the vertex, edge, or endpoint of an existing feature. To use feature to feature snapping, you must also enable Snapping layers.

In the image below, the editor draws a feature with the vertex snapped to the vertex of an existing polygon feature.

Feature to feature snapping

Snapping layers

Snapping layers determine which layers will have feature to feature snapping enabled.

Snap to grid

A reference grid comprises configurable horizontal and vertical grid lines that help you align features and visualize distances as you modify or create features. When snapping is enabled, the pointer snaps to grid line edges and intersections.

Click Grid settings above the zoom tools to configure a reference grid. The following configurations are available:

ConfigurationDescription
Enable grid

When enabled, a square grid appears on the web map and additional configurations are available.

Placement

The Placement buttons allow you to move and rotate the grid using your mouse or keyboard arrows. To apply changes, click your mouse or press Esc on your keyboard.

The following options are available:

  • Place —Move the grid, then change the grid rotation.
  • Move —Move the grid without changing the grid rotation.
  • Rotate —Change the grid rotation without moving the grid.

Place and Move both allow editing constraints to update the coordinates where the central coordinate lines intersect. To access the editing constraints, press Tab on your keyboard.

Learn more about editing constraints

Spacing

The distance between grid lines in feet or meters, depending on your user settings.

Note:

The specified distance may not be used if Dynamically scale grid based on zoom is enabled. When the specified distance is not used, a warning icon appears. Hover over the warning to see the dynamic spacing for the grid.

When overlaying a grid, projection distortion may affect the grid spacing. For basemap projections with high distortion such as Web Mercator, Spacing will be unavailable.

Angle

The rotation of the grid in degrees. Whole numbers between 0 and 359 are accepted. Negative numbers and numbers above 359 will automatically be changed to an equivalent accepted value. For example, -45 is changed to 315 and 360 is changed to 0.

Cells between major lines

The number of squares between each major grid line. Major lines appear darker and can provide a visual reference when compared to the minor grid lines. The default value is 5.

Dynamically scale grid based on zoom

When enabled, the spacing of the grid updates automatically when you zoom in or out on the map. When not enabled, the same spacing distance is used at all zoom levels.

Note:

If dynamic scaling is turned off and the grid lines disappear when you zoom out on the map, it means the lines are too close together to display at the current scale. Turn on dynamic scaling or zoom in to see the grid lines.

Rotate grid with map

When enabled, the grid is automatically rotated when you rotate the map.

Theme

Determines the color of the grid lines. The following options are available:

  • Dark —Major lines are dark gray, minor lines are light gray. Dark theme works best with light basemaps.
  • Light —Major and minor lines are light gray. Light theme works best with dark basemaps.
  • Custom —Major and minor lines are styled using the color chosen on the color picker or specified by hex, RGB, or HSV value. A transparency slider can be used to change the transparency of the grid lines. A custom theme can be used to create high-contrast grid lines on basemaps with light and dark colors.