In Map Viewer (formerly a separate beta installation but now included with the portal automatically), 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.
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. Sketch layers are also a way to create feature layers if you don't have an organizational account with publishing privileges or access to ArcGIS Server.
There are six types of features you can draw in a sketch layer. Choose from stamps, lines, polygons, rectangles, circles, and text.
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 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:
- On the Contents (dark) toolbar, click Add and choose Sketch layer.
The Sketch pane appears.
- Under Draw features, choose Stamp .
The Stamp pane appears.
- Click a point on the map where you want to place the stamp.
A default stamp is placed on the map.
- In the Stamp pane, expand the Symbols section and select a symbol set from the drop-down menu.
- Select a symbol from the symbol set. Optionally, click Invert background color to see how the symbols appear against a dark background.
The default stamp changes to the selected symbol.
- Use the following options, depending on the symbol, to change the appearance of the stamp:
- Size—Use the slider to change the symbol size or change the pixel value in the text box. Optionally, check the Adjust size automatically check box to optimize symbol size according to map scale.
- Rotation—Use the slider to change the rotation of the symbol, or change the degree value in the text box.
- Fill—Ensure that the toggle button is turned on. Select a color from the preset options or from the custom color picker. You can also specify a custom color using a hexadecimal value. Click Add to save a custom color and Remove to remove a saved color. Optionally, use the Fill transparency slider to apply transparency to the fill, or change transparency value in the text box.
- Outline—Ensure that the toggle button is turned on. Select a color and outline transparency as you did for Fill. In the Stroke section, use the slider to change the line width, or change the pixel value in the text box. You can also check the Adjust width automatically check box.
- Optionally, add a pop-up to the stamp by doing the following:
- In the Stamp pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Click Edit next to the Title box 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 Options to delete or duplicate the default text element, and click Add content to add new text or image elements.
- Click the back arrow when you're finished to return to the Stamp pane.
- In the Stamp pane, click Done.
Note:
These symbols are in scalable vector graphic (SVG) format, which is a vector image format for 2D graphics. 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.
Add lines
You can use lines to symbolize boundaries and routes.
To add a line, complete the following steps:
- On the Contents (dark) toolbar, click Add and choose Sketch layer.
The Sketch pane appears.
- Under Draw features, choose Line .
The Line pane appears.
- 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 either of the following in the Line pane to change the line's appearance:
- Select a color from the preset options or from the custom color picker. You can also specify a custom color using hexadecimal values. Click Add to save a custom color and Remove to remove a saved color. Optionally, use the Outline transparency slider to apply transparency to the line.
- For Stroke, select a line pattern and optionally choose an arrow. Use the slider to change the line width or change the pixel value in the text box.
- Optionally, add a pop-up to the line by doing the following:
- In the Line pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Click the Edit next to the Title box 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 Options to delete or duplicate the default text element, and click Add content to add new text or image elements.
- Click the back arrow when you're finished to return to the Line pane.
- In the Line pane, click Done.
Add polygons
You can use polygons to symbolize irregularly shaped areas.
To add a polygon, complete the following steps:
- On the Contents (dark) toolbar, click Add and choose Sketch layer.
The Sketch pane appears.
- Under Draw features, choose Polygon .
The Polygon pane appears.
- 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 either of the following options in the Polygon pane to change the polygon's appearance:
- Fill—Ensure that the toggle button is turned on. Select a color from the preset options or from the custom color picker. You can also specify a custom color using a hexadecimal value. Click Add to save a custom color and the Remove to remove a saved color. Optionally, use the Fill transparency slider to apply transparency to the fill, or change the transparency value in the text box.
- Outline—Ensure that the toggle button is turned on. Select a color and outline transparency as you did for Fill. In the Stroke section, use the slider to change the line width or change the pixel value in the text box.
- Optionally, add a pop-up to the polygon by doing the following:
- In the Polygon pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Click the Edit next to the Title box 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 Options to delete or duplicate the default text element, and click Add content to add new text or image elements.
- Click the back arrow when you're finished to return to the Polygon pane.
- In the Polygon pane, click Done.
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:
- On the Contents (dark) toolbar, click Add and choose Sketch layer.
The Sketch pane appears.
- Under Draw features, choose Rectangle or Circle .
The Rectangle or Circle pane, respectively, appears.
- Click the map where you want the feature to be placed, and drag to begin drawing.
- Release the mouse button to complete the feature and place it on the map.
- Optionally, do either of the following in the Rectangle or Circle pane to change the feature's appearance:
- Ensure that the Fill toggle button is turned on to change the fill. Select a color from the preset options or from the custom color picker. You can also specify a custom color using a hexadecimal value. Click Add to save a custom color and Remove to remove a saved color. Optionally, use the Fill transparency slider to apply transparency to the fill or change the transparency value in the text box.
- Ensure that the Outline toggle button is turned on to change the outline. Select a color and outline transparency as you did for Fill. In the Stroke section, use the slider to change the line width, or change the pixel value in the text box.
- Optionally, add a pop-up to the rectangle or circle by doing the following:
- In the Rectangle or Circle pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Click the Edit button next to the Title box 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 Options to delete or duplicate the default text element, and click Add content to add new text or image elements.
- Click the back arrow when you're finished to return to the Rectangle or Circle pane.
- In the Rectangle or Circle pane, click Done.
Add text
You can use text to label or provide information about anything on the map.
To add text, complete the following steps:
- On the Contents (dark) toolbar, click Add and choose Sketch layer.
The Sketch pane appears.
- Under Draw features, choose Text .
The Text pane appears.
- Click the point on the map where you want to place the text.
- Type the text in the Content box in the Text pane.
- Optionally, style the text by doing the following:
- Select a font from the Font drop-down menu.
- Change the value in the Size text box, or use the arrows to increase or decrease the size.
- Select a color from the preset Color options.
- Turn the Halo toggle button on or off and set the color and size.
- Optionally, add a pop-up to the text by doing the following:
- In the Text pane, click Pop-up.
- Turn on the Enable pop-up toggle button.
- Click Edit next to the Title box 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 Options to delete or duplicate the default text element, and click Add content to add new text or image elements.
- Click the back arrow when you're finished to return to the Text pane.
- In the Text pane, click Done.
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:
- Open the Sketch pane by doing one of the following:
- On the Contents (dark) toolbar, click Layers . Select the sketch layer, or click Options on they layer and choose Sketch.
- In the sketch layer's Properties pane , click Edit sketch.
The Sketch pane appears.
- Under Select features, choose Select .
- Click a feature on the map.
The feature is selected on the map and the pane associated with the feature appears.
- 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 feature pane to delete a feature.
- Click Done in the feature 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:
- Open the Sketch pane by doing one of the following:
- On the Contents (dark) toolbar, click Layers . Select the sketch layer, or click Options on the layer and choose Sketch.
- In the sketch layer's Properties pane , click Edit sketch.
The Sketch pane appears.
- In the Sketch pane, 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 a box over the map to 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.
Sketch shortcuts
You can use keyboard shortcuts to help you draw sketch features, such as lines or polygons. 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, draw straight lines, and place features directly on the edges and vertices of other sketch features. |
C | Complete drawing. |
Z | Undo the last vertex. |
R | Redo the last vertex. |
Esc | Cancel drawing. |