laptop and a wrench

Error

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

ArcGIS Maps SDK for JavaScript
Número de ID del error BUG-000175124
EnviadoMarch 18, 2025
Última modificaciónOctober 10, 2025
Relacionado conArcGIS Maps SDK for JavaScript
Versión encontrada4.32
Sistema operativoWindows Server
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000175124

Software:

  • ArcGIS Maps SDK for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga