Here is my label definition
public LabelDefinition GetLabelDefinition()
{
var textSymbol = new TextSymbol
{
Color = System.Drawing.Color.Black,
Size = 40,
FontWeight = FontWeight.Bold,
HaloColor = System.Drawing.Color.White,
HaloWidth = 3,
};
var def = new LabelDefinition(new SimpleLabelExpression("Ahoj"), textSymbol)
{
Placement = Esri.ArcGISRuntime.ArcGISServices.LabelingPlacement.PointCenterRight,
MinScale = 0,
MaxScale = double.MaxValue,
};
return def;
}Here is my overlay
_workOrdersOverlay = new GraphicsOverlay
{
Id = AppConstants.WorkOrdersLayerId,
Renderer = _workOrdersLayerService.GetRenderer(),
LabelsEnabled = true,
};
_workOrdersOverlay.LabelDefinitions.Add(_workOrdersLayerService.GetLabelDefinition());Here is my overlay with Graphics and no labels.

If I click on one of the symbols and inspect the result of GeoViewController.IdentifyGraphicsOverlaysAsync I can see the overlay labeling is correctly configured
resultsPerOverlay.First().GraphicsOverlay.LabelsEnabled
true
resultsPerOverlay.First().GraphicsOverlay.LabelDefinitions.First().Expression
{Esri.ArcGISRuntime.Mapping.Labeling.SimpleLabelExpression}
Expression: "Ahoj"
What am I missing?