laptop and a wrench

Erro

The maxScale and minScale Property are always 0 for MapImageLayer sublayers on ArcGIS API for JavaScript 4.1 and above.

Última Publicação: June 20, 2017 ArcGIS API for JavaScript
Número de ID do Erro BUG-000104613
EnviadoApril 20, 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
StatusWill Not Be Addressed

Informações Adicionais

Since the sublayers are manually set and only visible and id are specified, the rest of the properties use default values (0,0) If you want to keep the minScale/maxScale of the sublayers, you can either do new MapImageLayer({ sublayers: [{ id: ..., visible:..., minScale: ..., maxScale }] }) or var layer = new MapImageLayer({url: ...}); layer.sublayers.getItemAt(...).visible = ...;

Etapas para Reproduzir

ID do Erro: BUG-000104613

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