AnsweredAssumed Answered

Determine a Layers index in the map

Question asked by ngalford on Jun 5, 2014
Latest reply on Jun 5, 2014 by kenbuja
I'm reordering some layers
map.reorderLayer(id,index);
and that's working flawlessly, but I'd like to query against the map object to review the layer order. I see in this method that there is an index associated with the layer id, which leads me to believe I can determine the order of the layers at anytime.
Question: Is there a method to determine a particular layer's order or a property in the map object I could use?

Thanks,

Outcomes