The locationToAddress method of Locator Class returns the following error in the console, "Cannot read property 'toJSON' of null."
上次发布: August 23, 2019ArcGIS 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.