| Bug-ID-Nummer |
BUG-000115609 |
| Eingereicht | July 24, 2018 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS API for JavaScript |
| Gefunden in Version | 4.7 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 |
| Status | Non-Reproducible
Dieses Problem konnte bei Tests durch das Entwicklungsteam nicht reproduziert werden. Problemen wird u. U. dieser Status zugewiesen, wenn sie nicht reproduziert werden können oder in einer Entwicklungsversion der Software nicht mehr relevant sind. Es wurde jedoch kein Fix zur Problembehebung installiert. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
Please use the PopupTemplate.outFields property as described in https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#outFields to fix this.
Workaround
- 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.
Schritte zur Reproduzierung