laptop and a wrench

Erro

The LayerList widget does not work with the MapImageLayer containing a sublayer.

Última Publicação: April 25, 2017 ArcGIS API for JavaScript
Número de ID do Erro BUG-000103521
EnviadoMarch 9, 2017
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.3
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusKnown Limit

Informações Adicionais

This is documented at https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#sublayers. Where it states, 'All sublayers are referenced in the order in which they are drawn in the view (bottom to top). They may be added, removed, or reordered using the Collection methods." In order to specify the sublayers in a certain order, please use the Collection reorder method.

Solução Provisória

The issue is that when Supports Dynamic Layers is true, the LayerList widget will renders correctly, however, when Supports Dynamic Layers is false, in order to make two sublayer show correctly in the map, instantiate the layer id order in a descending order, if using an ascending order the sublayer does not render, and the request are different.

Etapas para Reproduzir

ID do Erro: BUG-000103521

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download