Hi Andy,
Are you working with JSON to create label definitions?
Here's an example fragment of JSON for labelAngleInfo an angleExpressionInfo that uses Arcade to define an angle expression:
```
"labelAngleInfo": {
"angleExpressionInfo": {
"expression": "if($feature.type == 11, $feature.SITE_ANGLE, 90-2*$feature['other angle'])",
"title": "Geology dir (site)"
},
"rotationType": "arithmetic"
}
```
The Arcade angle expression must evaluate to a number (angle in degrees) e.g.
- A single fieldname would be represented as $feature.SITE_ANGLE
- A single angle for all features would be represented as 25.5
- A more complex example might be if($feature.type == 11, $feature.SITE_ANGLE, 90-2*$feature["other angle"])
This capability may not have made it into all parts of the platform yet, but it should be supported in ArcGIS Runtime (e.g. mobile map packages from Pro / service).
Cheers
Mike