ArcGIS Developers
Dashboard

LabelAngle QML Type

Specifies how to calculate the angular position and layout direction for labels on or around point feature symbols. More...

Import Statement: import Esri.ArcGISRuntime 100.11
Since: Esri.ArcGISRuntime 100.11
Inherits:

Object

Properties

Signals

Detailed Description

The angular position may be different for each feature (driven by one or more feature attributes) or constant for all features (specified by a fixed number).

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
ArcadeExpressionangleExpression

See also JsonSerializable.

Property Documentation

[default] angleExpression : ArcadeExpression

Specifies how the angle (in degrees) is calculated from the feature attributes, using an Arcade expression.

The calculation may use attributes, fixed numbers, or a combination of both. The default value is an ArcadeExpression containing an empty expression string, which will produce a zero angle when evaluated.


json : jsobject

JSON data that can be used to instantiate the LabelAngle.


rotationType : Enums.LabelAngleRotationType

Whether the angle should be interpreted as arithmetic or geographic.

The default value is Enums.LabelAngleRotationTypeAutomatic (which will be interpreted as Enums.LabelAngleRotationTypeArithmetic).


Signal Documentation

angleExpressionChanged()

Emitted when the angleExpression property changes.

Note: The corresponding handler is onAngleExpressionChanged.


rotationTypeChanged()

Emitted when the rotationType property changes.

Note: The corresponding handler is onRotationTypeChanged.



Feedback on this topic?