In ArcGIS Maps SDK for JavaScript 4.32, initial load time increases as custom symbology now loads before necessary.
ArcGIS Maps SDK for JavaScript
漏洞 ID 编号
BUG-000175124
已提交
March 18, 2025
上次修改时间
October 10, 2025
适用范围
ArcGIS Maps SDK for JavaScript
找到的版本
4.32
操作系统
Windows Server
操作系统版本
N/A
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
From the provided test app, when the app initially loads, a network request is made for an image. When we zoom in, the layer becomes visible, and the legend displays the corresponding symbols. At this point, you can observe another request for the same image in the network tab.
However, the first type of request, which is triggered when the app loads, is a fetch request that is likely initiated by the API (possibly the rendering engine). The second request, triggered when the layer becomes visible, is of type PNG, which is fetched by the browser since the image URL is set in the SVG element within the legend.
There isn’t currently an easy way to use the fetched image in the legend, as the legend is simply using the URL to the image, and using the one fetched for the layer would be problematic.
Therefore, I believe this behavior is expected and as designed. It may be possible to improve this in the future, but it's not a bug.