Numéro d’ID de bogue |
BUG-000153231 |
Envoi | October 25, 2022 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS API for JavaScript |
Version trouvée | 4.24 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
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