labelAngleInfo

This object specifies the angular positions and layout directions for labels on or around point feature symbols. This may be different for each feature (driven by one or more feature attributes) or constant for all features (specified by a fixed number)

Referenced by: labelingInfo

Properties

Property Details
angleExpressionInfo This expressionInfo object allows specifies how the angle (in degrees) for a label is calculated from the feature attributes. It may use attributes, fixed numbers, or a combination of both. If missing, an angle value of zero is assumed.
rotationType Optional specification of whether the placement angle calculated by the angleExpressionInfo should be interpreted as arithmetic (counter-clockwise from East) or geographic (clockwise from North).
Valid values:
  • arithmetic
  • geographic

Specification using Arcade expression Example

{
  "angleExpressionInfo": {
    "expression": "iif($feature.type == 11, $feature.SITE_ANGLE, 90-2*$feature['other angle'])"
  },
  "rotationType": "arithmetic"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close