laptop and a wrench

Erro

Reordered layers in a map service sample works incorrectly when all the layers are turned off.

Última Publicação: April 23, 2015 ArcGIS API for JavaScript
Número de ID do Erro BUG-000086608
EnviadoApril 2, 2015
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada3.13
Sistema OperacionalWindows OS
Versão do Sistema Operacional7 64 Bit
Versão Fixa3.14
StatusFixed

Solução Provisória

Find the attached sample. Replace the code for Toggle Layers function with the following: function toggleLayer(e) { showLoading(); for (var info in infos) { var i = infos[info]; if (i.name === e.target.name) { i.visible = !i.visible; } } var visible = getVisibleLayers(); if (visible.length === 0) { usaLayer.setVisibleLayers([-1]); } else { usaLayer.setDynamicLayerInfos(visible); } }

Etapas para Reproduzir

ID do Erro: BUG-000086608

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