Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

RotationInfo Visual Variable

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


Property Details
axis Defines the rotation axis the visual variable should be applied to when rendering features with an ObjectSymbol3DLayer. Detailed description.
If property is present, must be one of the following values:
  • heading
  • roll
  • tilt
field Attribute field used for setting the rotation of a symbol if no valueExpression is provided.
legendOptions Options available for the legend for visual variables.
See legendOptions properties table.
rotationType Defines 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.
If property is present, must be one of the following values:
  • arithmetic
  • geographic
type A string value indicating the type of visual variable used for the renderer.
Value of this property must be rotationInfo
valueExpression An Arcade expression evaluating to a number.
valueExpressionTitle The title identifying and describing the associated [Arcade expression] (/arcade/) as defined in the valueExpression property.

legendOptions properties

Property Details
showLegend Indicates whether to show the color/size/opacity ramp in the legend.
title The title of the legend.


Live sample web scene showing use of the rotationInfo visual variable.

  "visualVariables": [
      "type": "rotationInfo",
      "rotationType": "geographic",
      "field": "WIND_DIRECT"

Feedback on this topic?