Bug-Nummer BUG-000092988
Erzeugt am Dec 15, 2015
Modified Feb 14, 2018
Schweregrad Medium
Übernehmen für ArcGIS API for JavaScript
Gefundene Version 3.14
Progr.-Sprache n. z.
Datenbank n. z.
Gebietsschema n. z.
Status Not in Current Product Plan
Behoben in Version
SP Fixed

Bug BUG-000092988


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.

Zusätzliche Informationen

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.

Alternative Lösung