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.
Last Published: December 21, 2015ArcGIS API for JavaScript
Bug ID Number
BUG-000092988
Submitted
December 15, 2015
Last Modified
September 18, 2022
Applies to
ArcGIS API for JavaScript
Version found
3.14
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
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.