Layer list - inconsistent order compared to the local layer widget

2678
3
Jump to solution
12-09-2015 02:54 PM
LefterisKoumis
Occasional Contributor III

I cannot get the order of the layers as setup in the config of the local layer widget to match the order on the layer list.  The example below shows the layers order is different. Any idea why?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Lefteris,

   The order you place then in using the LL Widget is not significant as the JS API will always place FeatureLayers above other types.

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

Lefteris,

   The order you place then in using the LL Widget is not significant as the JS API will always place FeatureLayers above other types.

LefterisKoumis
Occasional Contributor III

Thank you. I must skipped reading it somewhere in the JS API docs.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

This behavior will likely change in the 4.0 API