Hi,
I'm using the Label's Priority of the JSON in order to priorise between differente GraphicsOverlay but it's not working. Is it a known bug? I'm using it this way:
StringBuilder labelBuilder = new StringBuilder();
labelBuilder.AppendLine("{");
// Define a labeling expression that will show the Name attribute value
labelBuilder.AppendLine("\"allowOverrun\": true ,");
labelBuilder.AppendLine("\"allowOverlapOfLabel\": \"allow\" ,");
labelBuilder.AppendLine("\"allowOverlapOfFeatureBoundary\": \"allow\" ,");
labelBuilder.AppendLine("\"allowOverlapOfFeatureInterior\": \"allow\" ,");
labelBuilder.AppendLine("\"priority\": 25 ,");
labelBuilder.AppendLine("\"labelExpressionInfo\": {");
labelBuilder.AppendLine("\"expression\": \"return $feature.Name;\"},");
// Align label horizontally
labelBuilder.AppendLine("\"labelPlacement\": \"esriServerPointLabelPlacementCenterRight\",");
labelBuilder.AppendLine("\"multiPart\": \"labelLargest\",");
// Set the style for the text symbol
labelBuilder.AppendLine("\"symbol\": {");
labelBuilder.AppendLine("\"color\": [255,255,255,255],");
labelBuilder.AppendLine("\"haloColor\": [51,51,51,255],");
labelBuilder.AppendLine("\"haloSize\": 1.5,");
labelBuilder.AppendLine("\"font\": {\"size\": 10, \"weight\": \"bold\"},");
labelBuilder.AppendLine("\"type\": \"esriTS\"}");
labelBuilder.AppendLine("}");
Thanks