Hi, I'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>
"Global Sample Map",<br> "<a href="http://www.mydomain.com/servlet/com.esri.esrimap.Esrimap">http://www.mydomain.com/servlet/com.esri.esrimap.Esrimap</a>",<br> {<br> serviceName: "myService",<br>
layers: [<br> // layers to manipulate<br> {id: 2, visible: true},<br> {id: '5', visible: true},<br> {id: "11", 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't a numeric id but a textual id.<br>Looking at firebug console I get "tile is undefined" error<br><br>Can someone help me with this issue?<br>
How can I set visible layers?<br><br>thank you<br>Alberto<br>