| 漏洞 ID 编号 |
BUG-000139786 |
| 已提交 | May 10, 2021 |
| 上次修改时间 | May 29, 2025 |
| 适用范围 | ArcGIS Runtime SDK |
| 找到的版本 | 100.11 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
The issue is reported as designed. Label placement and angle follow some rules. If the textLayout is straight or perpendicular, then the label will be positioned and oriented using the (placementPosition or labelAngle) + featureSymbol.angle.
So if the default labelPlacement is AboveRight, then the rotation angle of 55 degrees is added or removed from that.
For this particular bug, please add 'textLayout':'straight' to label json. This will allow angles to be honored by labels in a point layer.
解决办法
Add 'textLayout':'straight' to the label JSON. This property enables an angle to be applied to labels in a point layer.
重现步骤