Select to view content in your preferred language

ArcGISDynamicMapServiceLayer layerInfos are all undefined

1991
1
01-24-2011 09:43 AM
DavidElies
Deactivated User
When I get the layerInfos object from an ArcGISDynamicMapServiceLayer after it is loaded, I get an array of the correct number of LayerInfo objects, but each property of each LayerInfo object is undefined.  Can anybody help me to figure out why that is?
0 Kudos
1 Reply
DavidElies
Deactivated User
I'm sorry.  I'm new to Javascript and I was using the For...in construction incorrectly.  I was not properly referring to the individual layerInfos.  I got it working.  Sorry about that.
0 Kudos