laptop and a wrench

Bogue

The locationToAddress method of Locator Class returns the following error in the console, "Cannot read property 'toJSON' of null."

Dernière publication: August 23, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000123673
EnvoiJuly 12, 2019
Dernière modificationApril 2, 2025
S’applique àArcGIS API for JavaScript
Version trouvée4.12
StatutWill Not Be Addressed

Informations supplémentaires

The LocationToAddress method has changed to now take params object. This is documented as such in https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-Locator.html#locationToAddress and also in the 4.12 release notes, https://developers.arcgis.com/javascript/latest/guide/release-notes/. Working sample of this can be seen at https://developers.arcgis.com/javascript/latest/sample-code/intro-popup/index.html.

Étapes pour reproduire

ID de bogue: BUG-000123673

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement