laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 23, 2019 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000123673
EingereichtJuly 12, 2019
Zuletzt geändertApril 2, 2025
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.12
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000123673

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln