lvv83

Reordering of dynamic layers with groups (parents and sublayers).

Discussion created by lvv83 on Oct 24, 2012
Latest reply on Aug 14, 2013 by qbnsqbns
Hello.
I need to reorder layers in the instance of esri.layers.ArcGISDynamicMapServiceLayer. I saw this sample for learning.

Also, I have two map services with enabled Dynamic Layer option. First service contains a plain list of layers, and the second contains grouped layers (parents and sublayers). Reordering on the first service works fine, but on the second service layers becomes invisible after reordering (both layers has a same parent).

Are there some restrictions on layers reordering, when layers are in groups? Thank you.

Outcomes