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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動