Numéro de bogue BUG-000092988
Envoyé Dec 15, 2015
Modified Feb 14, 2018
Gravité Medium
S’applique à ArcGIS API for JavaScript
Version trouvée 3.14
Langage de programmation N/D
Plateforme serveur
Plateforme client
Base de données N/D
Paramètre régional N/D
Statut Not in Current Product Plan
Version corrigée
Résolu par le fournisseur

Bogue 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.

Informations supplémentaires

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.

Autre solution