In Map Viewer, you can create features on a map by creating a sketch layer. A sketch layer is a type of feature collection. When you create a sketch layer, you create features to symbolize something you want to show on the map. You can also add descriptive information that appears in pop-ups when the feature is clicked.
Tip:
You can use keyboard shortcuts to quickly complete common workflows in Map Viewer. To view the full list of keyboard shortcuts in Map Viewer, press Alt+? on Microsoft Windows or Option+? on Mac.
The features in a sketch layer are saved with the map so that only you, the map author, can edit and save them. Creating a sketch layer is a good way to add a small number of features to a map, for example, the swimming pools managed by your city's parks and recreation department.
There are six types of features you can draw in a sketch layer. Choose from stamps, lines, polygons, rectangles, circles, and text.
Tip:
When you search for locations or features on the map, you can add search results to a new or existing sketch layer.
Create a sketch layer
To create a sketch layer, complete the following steps:
- On the Settings (light) toolbar, click Add sketch .
The Sketch pane appears and the sketch tools appear on the map.
- Follow the instructions for any of the following sketch tools to add features to the map:
- Optionally, click Snapping and change the snapping options as follows:
Snapping provides visual guides that help you draw shapes—for example, draw at right angles or draw straight lines—and allows you to place features directly on the edges and vertices of features.
- Turn off the Enable snapping toggle button to disable snapping.
- Turn off the Geometry guides toggle button to disable the visual guides that appear when you are drawing or updating sketch features—for example, guides that help you draw right angles and straight lines.
- Turn off the Feature to feature button to disable the ability to snap to the vertices and edges of other features while drawing and updating sketch features on the map.
- If snapping is enabled, click Snapping layers and select additional layers in the map to allow snapping to features in other feature layers when drawing and updating sketch features.
Tip:
Feature to feature snapping can be used with hosted feature layers and with WFS, CSV, and GeoJSON layers.
- Optionally, give the sketch feature a title by clicking Edit and typing a title in the text box.
The feature title appears when viewing the list of sketch features in the Properties pane.
- Optionally, add pop-ups to the sketch features.
- Close the Sketch pane when you're finished.
The sketch layer appears in the Layers pane. A list of all features in the sketch layer appears in the Properties pane.
Tip:
To add additional sketch layers to the map, click Add on the Contents toolbar and choose Create sketch layer .Add stamps
You can use stamps to symbolize points of interest on a map. For example, you can use special symbols to represent hospitals, evacuation points, or hiking trails.
To add a stamp, complete the following steps:
- Create a sketch layer as described above or choose an existing sketch layer in the Layers pane.
- From the sketch tools, choose Stamp .
- Click a point on the map where you want to place the stamp.
A default stamp is placed on the map.
- Use the following options, depending on the symbol, to change the appearance of the stamp:
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
Vector symbols include Esri default symbols and, if configured, symbols in web styles published from ArcGIS Pro that have one or more symbol layers. Vector symbols are only supported in some apps, including ArcGIS Instant Apps, ArcGIS StoryMaps, and ArcGIS Field Maps. Instead of the vector symbols you apply to a map, a default symbol is applied when the map is used in apps that don't yet support these symbols.
- Color—Select a color from the color picker. You can also specify a custom color using RGB or hexadecimal values. Click Add to save a custom color and click Remove to remove a saved color. Colors are saved only for the browser session.
- Transparency—Use the slider to apply transparency to the fill, or change the percent value in the input box.
- Width—Use the slider to change the width of a line or outline, or change the pixel value in the input box.
- Size—Use the slider to change the symbol size or change the pixel value in the input box.
- Rotation—Use the slider to change the rotation of the symbol, or change the degree value in the input box.
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Add lines
You can use lines to symbolize boundaries and routes.
To add a line, complete the following steps:
- Create a sketch layer as described above or choose an existing sketch layer in the Layers pane.
- From the sketch tools, choose Line .
- Click a point on the map to begin drawing.
A point appears on the map and a line extends from it, controlled by the mouse pointer.
- Click another point on the map to join the line to that point. Continue clicking other points on the map to add more vertices and line segments.
If you make a mistake while drawing, you can use keyboard shortcuts to undo and redo vertices.
- Double-click or use a keyboard shortcut to place the endpoint and complete the line.
The line is drawn on the map.
- Do any of the following in the Sketch pane to change the line's appearance:
- Current symbol—Select a symbol set from the Category drop-down menu and choose a symbol. Symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
Vector symbols include Esri default symbols and, if configured, symbols in web styles published from ArcGIS Pro that have one or more symbol layers. Vector symbols are only supported in some apps, including ArcGIS Instant Apps, ArcGIS StoryMaps, and ArcGIS Field Maps. Instead of the vector symbols you apply to a map, a default symbol is applied when the map is used in apps that don't yet support these symbols.
- For the Basic line symbol, select an option for Pattern and optionally add an arrow using the Arrow drop-down menu.
- Color—Select a color from the color picker. You can also specify a custom color using RGB or hexadecimal values. Click Add to save a custom color and click Remove to remove a saved color. Colors are saved only for the browser session.
- Transparency—Use the slider to apply transparency to the fill, or change the percent value in the input box.
- Width—Use the slider to change the width of a line or outline, or change the pixel value in the input box.
- Size—Use the slider to change the symbol size or change the pixel value in the input box.
- Rotation—Use the slider to change the rotation of the symbol, or change the degree value in the input box.
- Current symbol—Select a symbol set from the Category drop-down menu and choose a symbol. Symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Add polygons
You can use polygons to symbolize irregularly shaped areas.
To add a polygon, complete the following steps:
- Create a sketch layer as described above or choose an existing sketch layer in the Layers pane.
- From the sketch tools, choose Polygon .
- Click a point on the map to place a vertex. Lines are automatically drawn to join vertices as they are placed.
If you make a mistake while drawing, you can use keyboard shortcuts to undo and redo vertices.
- Double-click or use a keyboard shortcut to place the final vertex and complete the polygon.
The polygon is drawn on the map.
- Use any of the following options in the Sketch pane to change the polygon's appearance:
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
Vector symbols include Esri default symbols and, if configured, symbols in web styles published from ArcGIS Pro that have one or more symbol layers. Vector symbols are only supported in some apps, including ArcGIS Instant Apps, ArcGIS StoryMaps, and ArcGIS Field Maps. Instead of the vector symbols you apply to a map, a default symbol is applied when the map is used in apps that don't yet support these symbols.
- Color—Select a color from the color picker. You can also specify a custom color using RGB or hexadecimal values. Click Add to save a custom color and click Remove to remove a saved color. Colors are saved only for the browser session.
- Transparency—Use the slider to apply transparency to the fill, or change the percent value in the input box.
- Width—Use the slider to change the width of a line or outline, or change the pixel value in the input box.
- Size—Use the slider to change the symbol size or change the pixel value in the input box.
- Rotation—Use the slider to change the rotation of the symbol, or change the degree value in the input box.
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
- For vector marker layers in vector polygon symbols, optionally configure the Marker placement options as follows:
- Position—Select Fixed or Random to specify how the marker fills the polygon.
- Randomness—If Random is selected, use the slider or type a percent value in the input box to determine the degree of randomization for the marker placement.
- Step X—Use the slider or enter a pixel value to specify the horizontal spacing of the marker symbols.
- Step Y—Use the slider or enter a pixel value to specify the vertical spacing of the marker symbols.
- Optionally, check the Shift odd rows check box to stagger the rows of symbols.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Add rectangles and circles
You can use rectangles and circles to symbolize regularly shaped areas.
To add a rectangle or a circle, complete the following steps:
- Create a sketch layer as described above or choose an existing sketch layer in the Layers pane.
- From the sketch tools, choose Rectangle or Circle .
- Drag to begin drawing a shape on the map where you want the feature to be placed.
- Release the mouse button to complete the feature and place it on the map.
- Optionally, do any of the following in the Sketch pane to change the feature's appearance:
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
Note:
Vector symbols include Esri default symbols and, if configured, symbols in web styles published from ArcGIS Pro that have one or more symbol layers. Vector symbols are only supported in some apps, including ArcGIS Instant Apps, ArcGIS StoryMaps, and ArcGIS Field Maps. Instead of the vector symbols you apply to a map, a default symbol is applied when the map is used in apps that don't yet support these symbols.
- For the Basic polygon symbol, select an option for Pattern.
- Color—Select a color from the color picker. You can also specify a custom color using RGB or hexadecimal values. Click Add to save a custom color and click Remove to remove a saved color. Colors are saved only for the browser session.
- Transparency—Use the slider to apply transparency to the fill, or change the percent value in the input box.
- Width—Use the slider to change the width of a line or outline, or change the pixel value in the input box.
- Size—Use the slider to change the symbol size or change the pixel value in the input box.
- Rotation—Use the slider to change the rotation of the symbol, or change the degree value in the input box.
- Current symbol—Select a symbol set from the drop-down menu, and choose a symbol from the symbol set. Some vector symbols contain multiple symbol layers, allowing you to fine-tune the style of each symbol layer.
- For vector marker layers in vector polygon symbols, optionally configure the Marker placement parameter using any of the following options:
- Position—Select Fixed or Random to specify how the marker fills the polygon.
- Randomness—If Random is selected, use the slider or type a percent value in the input box to determine the degree of randomization for the marker placement.
- Step X—Use the slider or enter a pixel value to specify the horizontal spacing of the marker symbols.
- Step Y—Use the slider or enter a pixel value to specify the vertical spacing of the marker symbols.
- Optionally, check the Shift odd rows check box to stagger the rows of symbols.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Add text
You can use text to label or provide information about anything on the map.
To add text, complete the following steps:
- Create a sketch layer as described above or choose an existing sketch layer in the Layers pane.
- From the sketch tools, choose Text .
- Click the point on the map where you want to place the text.
- Type the text in the Content box in the Sketch pane.
- Optionally, style the text by doing the following:
- Select a font from the Font drop-down menu.
- Change the value in the Size input box, or use the arrows to increase or decrease the size.
- Select a color from the color picker or type an RGB or hexadecimal value in the input box.
- Turn the Halo toggle button on or off and set the color and size.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Add a pop-up to a sketch feature
You can add a pop-up to a sketch feature to provide more information about the location.
To add a pop-up to a sketch feature, do the following:
- Do one of the following:
- In the Sketch pane, choose Select and click a sketch feature on the map.
- In the Properties pane, click Edit next to the preview of the sketch feature you want to edit.
The feature is selected on the map.
- In the Sketch pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Expand the Title section and type a name in the text box.
- Click the default Text element and type additional information about the feature in the text box.
- Click Add content to add new text or image elements.
- Click Options to delete or duplicate an element.
- Click the back arrow when you're finished to return to the Sketch pane.
Note:
When you set the style for a sketch feature, the style and pop-up content persist for subsequently placed features of that type. Changes to the style apply to the most recently placed feature and to subsequent features.
Edit a sketch feature
You can change the style, shape, size, or position of a sketch feature after it has been drawn on the map.
To edit a sketch feature, do the following:
- Do one of the following:
- In the Sketch pane, choose Select and click a sketch feature on the map.
- In the Properties pane, click Edit next to the preview of the sketch feature you want to edit.
The feature is selected on the map.
- Optionally, drag the feature to a new location.
- Optionally, drag a feature's handles to resize or rotate it.
- Optionally, reshape a line, polygon, rectangle, or circle:
- Click the selected feature.
The shape's vertices appear in orange and the midpoints of the line segments appear in white.
- Drag a vertex or midpoint to a new location.
- Click a midpoint to add vertices.
The midpoint becomes a vertex and two new midpoints are added on either side.
- Click the selected feature.
- Optionally, click Delete in the Sketch pane to delete a feature.
- Close the Sketch pane to confirm your changes and clear the selection.
Edit multiple sketch features
You can rotate, resize, or reposition more than one feature at a time after they have been drawn on the map.
To edit multiple sketch features, do the following:
- If necessary, open the Sketch pane by doing the following:
- On the Settings (light) toolbar, click Sketch .
The Sketch pane opens and the sketch tools appear on the map.
- If there are multiple sketch layers on the map, select the desired sketch layer from the layer selector in the Sketch pane.
- On the Settings (light) toolbar, click Sketch .
- From the sketch tools, do one of the following:
- Choose Select by rectangle to select features by drawing a rectangle.
- Choose Select by lasso to select features by drawing a shape.
- Drag to draw a shape over the map and select features.
The features are grouped into one selection on the map.
- Optionally, drag the selection to a new location.
- Optionally, drag the selection's handles to resize or rotate the features.
- Click Delete in the Sketch pane to delete a feature.
- Close the Sketch pane to confirm your changes and clear the selection.
Note:
You can also open the Sketch pane by clicking Layers on the Contents (dark) toolbar. Select the sketch layer, or click Options on the layer and choose Sketch.
Sketch shortcuts
You can use keyboard shortcuts to help you draw sketch features, such as lines or polygons.
In the Sketch pane, click the keyboard shortcuts button to see the available shortcuts.
The following table lists and describes the available shortcuts:
Shortcut | Description |
---|---|
Ctrl | Press while drawing to disable snapping. Snapping provides visual guides that help you draw at right angles and draw straight lines, and allows you to place features directly on the edges and vertices of other sketch features. |
Enter | Complete drawing. |
Z | Undo the last vertex. |
R | Redo the last vertex. |
Esc | Cancel drawing. |