laptop and a wrench

Error

The DefinitionExpression is not honored on the sublayers of a layer if the sublayer definition is not passed in the constructor of MapImageLayer.

Última publicación: January 7, 2021 ArcGIS API for JavaScript
Número de ID del error BUG-000114774
EnviadoJune 19, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.7
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

This issue is not reproducible. Contact Support Services if the issue is occurring in the latest version of ArcGIS API for JavaScript.

Solución alternativa

Add sublayer definition in constructors of MapImageLayer for the DefinitionExpression to be honored.

Here is the updated JS Bin with a workaround: https://jsbin.com/yozemiqama/edit?html,output

Pasos para reproducir

ID del error: BUG-000114774

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga