Using callout lines with labels
Callouts of type line can be set on labels or on the symbol. A callout can only be set either on the label or on the symbol, but not on both.
Setting callouts on labels can be helpful to connect the label with its corresponding symbol. In this way, the user can clearly identify for each label to which feature it belongs.
For setting callouts on the symbols check the Point styles for cities sample.
In this sample we want to show the highest mountain peaks of Switzerland, Europe. The peaks are symbolized with black circles and labels are connected to the symbols with callout lines. The labels have a transparent halo for better readability and a custom font:
This sample also uses screenSizePerspective to give a better perception of depth. See the Labeling guide page for more information and known limitations.