In ArcGIS JavaScript API v4.24, the new WebTileLayer is rendered only after zooming or moving the map.
上次发布: October 27, 2022ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000153231
已提交
October 25, 2022
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.24
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
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.