| 不具合 ID 番号 |
BUG-000135688 |
| 送信されました | November 24, 2020 |
| 最終更新日 | June 5, 2024 |
| 適用対象 | ArcGIS API for JavaScript |
| 見つかったバージョン | 4.17 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 |
| ステータス | Non-Reproducible
この問題は、開発チームによるテスト時に再現されませんでした。 問題が再現できない場合、またはソフトウェアの開発バージョンで関連性がなくなった場合、問題に対処するための特定の修正プログラムがインストールされていない場合にこのステータスが与えられることがあります。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
|
参考情報
The code appears to be the issue.
If the user zooms in or out after the original test app loads, the text appears to be fine.
https://codepen.io/lxie/pen/QWEeroL?editors=1000
If the user adds a delay before adding the second polygon graphic, the text appears fine.
https://codepen.io/noash/pen/wvzzByO
対処法
To add a graphic to the view for the second time, use Graphic.clone() to create a deep clone of the graphic object, and add the clone to the view instead.
- Graphic.clone(): https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#clone
再現の手順