laptop and a wrench

Erro

Layer visibility of map service layers in web maps is not honored in ArcGIS API for JavaScript 4.x.

Última Publicação: March 30, 2020 ArcGIS API for JavaScript
Número de ID do Erro BUG-000121406
EnviadoApril 2, 2019
Última ModificaçãoJuly 20, 2025
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.11
Sistema OperacionalWindows OS
Versão do Sistema OperacionalN/A
Versão Fixa4.15
StatusFixed

Solução Provisória

Modify a layer in the web map by changing the transparency (and then changing it back to 100%) which adds the layers attribute to the WebMap JSON and forces the JavaScript WebMap class to respect the visibleLayers attribute.

For example, see the following WebMap JSON by replacing the ID in: https://www.arcgis.com/sharing/content/items/6a98eb44a463454eb17d3ed2b312bcc8/data?f=pjson

Etapas para Reproduzir

ID do Erro: BUG-000121406

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