This sample demonstrates how to add labels with callouts to a FeatureLayer in a Map component. Callout labels can be used to highlight and point to features in the map without obscuring map data or details.

Callout labels are implemented through the CIMTextSymbol and its associated callout properties.

The currently supported callout types include:

Use the dropdown in the top right corner of the map to select different callout styles for the labels.

2D5.2FeatureLayerlabelingLabelClassCIMSymbolCIMTextSymbolCalloutCIMBackgroundCalloutCIMBalloonCalloutCIMPointSymbolCalloutCIMSimpleLineCalloutPortalItemWebMapviewOnReadyarcgis-maparcgis-zoomarcgis-legendmap-componentscalcite-labelcalcite-select