Description
When attempting to display the labels from a cluster of point features in ArcGIS Online Map Viewer, only one is displayed.
The map below demonstrates the issue, where the labels for Point A, Point G, and Point J are visible but the labels of the other point features in the cluster are not displayed.
Cause
The point features are too close to each other or are overlapping. Therefore, some labels are not displayed at certain zoom levels, preventing all labels from being displayed at once.
Solution or Workaround
- Log in to ArcGIS Online and click Content > My content.
- Browse to and click the web map. In the item page, click Open in Map Viewer.
- On the Contents (dark) toolbar, click Layer
. - In the Layers pane, click the layer with the cluster of point features.
- On the Settings (light) toolbar, click Labels
. - In the Label features pane, click Options
> Rename to rename the label class in the text box. Click OK. - Click the label class to expand it.
- Under Label field, select the desired field.
- Under Filter, click Edit label filter.
- In the Filter pane, click Add new.
- Under Condition, configure the parameters to display the label of the point feature.
-
- Click the field name selector, and select the field of the feature layer.
- Click the operator selector and select is.
- Click the value input box drop-down menu and select the chosen point feature. In this example, Point A is selected.
- Click the Close
button. - In the Label features pane, select Add label class to add another label class for another point feature.
- Repeat Steps 6 through 13 to display the rest of the labels. Omit Step 13 for the last label class.
- Adjust the location of the label to display as intended. Refer to ArcGIS Online: Customize the label style for further instructions. For Step 2 in the documentation, ensure the label selected is the desired label class.
Note:
The placement of the label may be affected by zoom levels. Adjust the labels under Placement or Offsets accordingly.
- Click the Close
button. - On the Content (dark) toolbar, click Save and open > Save
to save the changes.
The map shows all the labels displayed for the cluster points in Map Viewer.