Hi, I&#39;m working with OL and arcIMS.<br>Actually I can connect to arcIMS server but cannot load the layers I need.<br>Here a snippet of my code (copied from examples)<br><br>[..]<br>layer = new OpenLayers.Layer.ArcIMS(<br>

            &quot;Global Sample Map&quot;,<br>            &quot;<a href="http://www.mydomain.com/servlet/com.esri.esrimap.Esrimap">http://www.mydomain.com/servlet/com.esri.esrimap.Esrimap</a>&quot;,<br>            {<br>                serviceName: &quot;myService&quot;,<br>

                layers: [<br>                    // layers to manipulate<br>                    {id: 2, visible: true},<br>                    {id: &#39;5&#39;, visible: true},<br>                    {id: &quot;11&quot;, visible: true},<br>

                    {id: 12, visible: true}<br>                ],<br>                async: true<br>            }<br>        );<br>[..]<br><br>I know this service has layers with IDs from 0 to 15. Some are image layers, others are featureclass.<br>

In my browser I see only one layer, and it is the only layer which hasn&#39;t a numeric id but a textual id.<br>Looking at firebug console I get &quot;tile is undefined&quot; error<br><br>Can someone help me with this issue?<br>

How can I set visible layers?<br><br>thank you<br>Alberto<br>