While using the goTo() method of class "esri/views/MapView" in an application using ArcGIS API for JavaScript 4.6, it shows a couple of DEPRECATED warnings for "always()" and "catch()".
上次发布: February 9, 2018ArcGIS GIS Server
漏洞 ID 编号
BUG-000110597
已提交
January 5, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS GIS Server
找到的版本
10.5
操作系统
Windows OS
操作系统版本
2012 R2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
These warnings are expected in this version and are there to inform the users about an important change in our API. Please see more information in this blog:
https://blogs.esri.com/esri/arcgis/2017/12/14/making-better-promises/
The then() method still works at 4.6, but throws warnings in the browser console. To prevent these warning messages from appearing, insert the below has flag into your code. Because this is an important breaking change, then() is not removed at 4.6, and is removed at a later version.