laptop and a wrench

Error

In ArcGIS JavaScript API v4.24, the new WebTileLayer is rendered only after zooming or moving the map.

Última publicación: October 27, 2022 ArcGIS API for JavaScript
Número de ID del error BUG-000153231
EnviadoOctober 25, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.24
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

This is not a supported workflow. Changing any layer URL or urlTemplate once the layer is loaded is not supported. Add two WebTileLayers for this use case and swap them. The following JS Bin application shows how to add the two WebTileLayers into a GroupLayer and set the GroupLayer.visibilityMode =exclusive to show only one web tile layer at a time. Refer to https://jsbin.com/daponenafe/edit?html,output for more information.

Pasos para reproducir

ID del error: BUG-000153231

Software:

  • ArcGIS API 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