laptop and a wrench

Bug

In ArcGIS Maps SDK for JavaScript 4.32, initial load time increases as custom symbology now loads before necessary.

ArcGIS Maps SDK for JavaScript
Bug-ID-Nummer BUG-000175124
EingereichtMarch 18, 2025
Zuletzt geändertOctober 10, 2025
Gilt fürArcGIS Maps SDK for JavaScript
Gefunden in Version4.32
BetriebssystemWindows Server
BetriebssystemversionN/A
StatusAs Designed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000175124

Software:

  • ArcGIS Maps SDK for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln