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.