This functionality is available only for ArcGIS feature layers or layers created using SharePoint data.
Maps can display large amounts of geographic data in layers that generally overlap. The way you draw the layers helps to describe and identify features. Sometimes, however, you need more than a particular symbol or color to convey what you want to say with your map. This is when labeling features can help. Labels are short pieces of text that describe the features in a layer and help your audience understand them. The text for a label is derived from the layer attributes; select the attribute you want to show—for example, the name or type of feature.
When you enable labels on a layer, ArcGIS for SharePoint automatically places labels on the map on or near the features they describe. You can control the text size, color, and style to help differentiate labels from different layers. You can also specify the zoom levels at which the labels are visible on the map.
To enable labels on a layer, do the following:
- From the map tools, select Layers .
The layer list appears.
- If necessary, select the layer you want to modify using the Active layer drop-down menu.
- From the layer options, select Labels .
The Labels pane appears.
- Turn on the Enable labels toggle button.
The label configuration options become active.
- Turn off the Enable labels toggle button to turn off labels for the layer.
The label configuration options become inactive and labels are removed from the map.
To configure labels, do the following:
- Ensure that labels are enabled for the layer you want to modify.
Once labels are enabled, the label configuration options become active in the Labels pane.
- From the Label field drop-down menu, select an attribute to use as the label.
- Do any of the following to specify how to display the label:
- Adjust the font, size, and style of the text.
- Choose a color for the text from the options, or click Edit and use the color picker. You can also specify a custom color using a hex value.
- Choose how to align the label relative to the feature.
- Set the visible range of the labels. Drag one or both handles on the Visible range slider to set the minimum and maximum visibility. The black arrow below the slider indicates the current zoom level. Scale labels such as Country, City, and Building can assist you in choosing the best zoom levels as you use the slider. To set a more precise scale, click the drop-down menu next to the scale labels and choose a zoom level.
- Turn on the Enable halo toggle button to add a halo outline around the text. Set the width of the halo using the drop-down menu, and choose the color of the halo as you did for the text.
- Click Back to return to the layer list.