Enabling the alwaysUseProxy property to 'true' within ArcGIS API for JavaScript 3.x appends the proxy URL twice for the supported vector basemap requests.
上次发布: November 22, 2022ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000153126
已提交
October 20, 2022
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.41
操作系统
Windows OS
操作系统版本
10.0
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
There are no plans to address this as it is not reproducible in the recommended ArcGIS API for JavaScript 4.x version.
解决办法
Configure the equivalent workflow with proxy rules using the esri/urlUtils module.
Intercept the request with the setRequestPreCallback property. Each request URL containing the 'basemaps.arcgis.com' domain slices the extra appended proxy URL, allowing the map to fully load if the line for esriRequest.setRequestPreCallback(myCallbackFunction) is uncommented.