| 不具合 ID 番号 |
BUG-000115609 |
| 送信されました | July 24, 2018 |
| 最終更新日 | June 5, 2024 |
| 適用対象 | ArcGIS API for JavaScript |
| 見つかったバージョン | 4.7 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 |
| ステータス | Non-Reproducible
この問題は、開発チームによるテスト時に再現されませんでした。 問題が再現できない場合、またはソフトウェアの開発バージョンで関連性がなくなった場合、問題に対処するための特定の修正プログラムがインストールされていない場合にこのステータスが与えられることがあります。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
|
参考情報
Please use the PopupTemplate.outFields property as described in https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#outFields to fix this.
対処法
- Use FeatureLayer class and add them to the map instead of MapImageLayer. This works in versions 4.6 to 4.8
- Open the sample application at - https://jsbin.com/qazoxisefo/edit?html,output
- The popup returns the population in year 2000 correctly.
- Change the API version to 4.7 and then to 4.8 and run again.
- The sample works correctly in the 4.7 and 4.8 version as well.
Checking the feature.graphic.attributes shows all the attributes. This can be verified by putting a breakpoint in debugger mode at line number 55, and checking the value of the feature object.
再現の手順