laptop and a wrench

Bogue

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

Dernière publication: October 27, 2022 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000153231
EnvoiOctober 25, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.24
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000153231

Logiciel:

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