laptop and a wrench

Bogue

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

ArcGIS Maps SDK for JavaScript
Numéro d’ID de bogue BUG-000175124
EnvoiMarch 18, 2025
Dernière modificationOctober 10, 2025
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.32
Système d’exploitationWindows Server
Version du système d’exploitationN/A
StatutAs Designed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000175124

Logiciel:

  • ArcGIS Maps SDK for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement