laptop and a wrench

Bug

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, 2015 ArcGIS API for JavaScript
Bug ID Number BUG-000092988
SubmittedDecember 15, 2015
Last ModifiedSeptember 18, 2022
Applies toArcGIS API for JavaScript
Version found3.14
StatusWill Not Be Addressed

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.

Steps to Reproduce

Bug ID: BUG-000092988

Software:

  • ArcGIS API for JavaScript

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic