laptop and a wrench

漏洞

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

上次发布: August 23, 2019 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000123673
已提交July 12, 2019
上次修改时间April 2, 2025
适用范围ArcGIS API for JavaScript
找到的版本4.12
状态Will Not Be Addressed

附加信息

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.

重现步骤

漏洞 ID: BUG-000123673

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项