| 漏洞 ID 编号 |
BUG-000124916 |
| 已提交 | August 30, 2019 |
| 上次修改时间 | June 5, 2024 |
| 适用范围 | ArcGIS API for JavaScript |
| 找到的版本 | 4.12 |
| 状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
This is as designed. This property only applies when TextSymbol is not used for labeling purposes. The HorizontalAlignment for labels is inferred from the labelPlacement value. The documentation is updated to state this.
解决办法
Use the ArcGIS API for JavaScript version 4.9.
- To align the text right, set the labelPlacement to center-left, above-left or below-left.
- To align the text left, set the labelPlacement to center-right, above-right or below-right.
重现步骤