English
Bug Number BUG-000092988
Submitted Dec 15, 2015
Modified Feb 14, 2018
Severity Medium
Applies To ArcGIS API for JavaScript
Version Found 3.14
Prog Language N/A
Server Platform
Client Platform
Database N/A
Locale N/A
Status Not in Current Product Plan
Version Fixed
SP Fixed

Bug BUG-000092988

Synopsis

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.


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.


Alternate Solution