laptop and a wrench

Error

In ArcGIS Server .NET 9.3 Service Pack 1, REST API layer visibility for sub layers in a grouplayer are ignored when generating an image.

Última publicación: August 25, 2014 ArcGIS API for JavaScript
Número de ID del error NIM045290
EnviadoMay 12, 2009
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada9.3
Sistema operativoWindows OS
Versión de sistema operativoXP
EstadoNon-Reproducible

Información adicional

No Public Explanation

Solución alternativa

Just a bit more info for you on this difference in the behaviour of the Java vs. NET versions of ArcGIS Server with respect to layer visibility. What we observed in the REST Services Directory where specifying for example Layers as "1" in .NET working, yet working Java is still true. However,if you specify the Layers parameter as "show:1", it works in both cases. That latter form is what actually gets passed to the server if for example you turn layers on and off in the javascript API.So it's a very specific case where it doesn't work - that being if you just specify the layers as a comma separated list withoutpreceding it with "show:". In the ArcGIS Server Java that works fine, but in .NET it doesn't.

Pasos para reproducir

ID del error: NIM045290

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