AnsweredAssumed Answered

Other than using "setDynamicLayerInfos", is there any other way to reorder layers?

Question asked by stephenlam1988 on Jul 20, 2014
Latest reply on Jul 22, 2014 by stephenlam1988

This example is a reordering layers function, and it is exactly what I am going to implement, (1 map service has multiple layers), however while I call the following code, it is un-successfully to build the map (for detail, please find the attachment),

e.target.setDynamicLayerInfos(layer1Infos, true);

 

My map service is a dynamic map service. I think the example doesn't easily to implement, because I expect I can just simply pass the sequenced order id into the re-order function.

 

 

Any help could be appreciated.

Outcomes