The rotation visual variable defines how features rendered with marker symbols are rotated. The rotation value is determined by a value in a field or an Arcade expression calculating a value. Use either the field property or valueExpression when specifying rotation values.

Referenced by: visualVariable

Properties

PropertyDetails
fieldAttribute field used for setting the rotation of a symbol if no valueExpression is provided.
legendOptionsOptions available for the legend.
rotationTypeDefines the origin and direction of rotation depending on how the angle of rotation was measured. Possible values are geographic which rotates the symbol from the north in a clockwise direction and arithmetic which rotates the symbol from the east in a counter-clockwise direction.
Valid values:
  • arithmetic
  • geographic
typeA string value indicating the type of visual variable used for the renderer.
Valid value of this property rotationInfo
valueExpressionAn Arcade expression evaluating to a number.
valueExpressionTitleThe title identifying and describing the associated [Arcade expression] (https://developers.arcgis.com/arcade/) as defined in the valueExpression property.

Example

{
"type": "rotationInfo",
"rotationType": "geographic",
"field": "WIND_DIRECT"
}