laptop and a wrench

漏洞

Setting the TextSymbol.HorizontalAlignment property has no effect on FeatureLayer labels in ArcGIS API for Javascript.

上次发布: September 2, 2019 ArcGIS API for JavaScript
漏洞 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.

重现步骤

漏洞 ID: BUG-000124916

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项