In the JavaScript API, when a tiled layer is added to the map after a layer of a different type is added, the tiled layer is not shown.
上次发布: December 21, 2015ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000092988
已提交
December 15, 2015
上次修改时间
September 18, 2022
适用范围
ArcGIS API for JavaScript
找到的版本
3.14
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is not specific to the API but rather how cached data works with other layers. The cached service does not display if the map’s scale is not the same as one of its levels of detail (LODs). The dynamic service added as the first layer does not have LODs associated with it. A workaround is to either add the cached first and reorder the layers after the map loads, or by manually setting the map’s LODs using the cached layer’s LODs after the layer loads, causing the map to snap to the nearest LOD.