Layer list - inconsistent order compared to the local layer widget

2446
3
Jump to solution
12-09-2015 02:54 PM
LefterisKoumis
Regular Contributor

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 Esteemed Contributor

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 Esteemed Contributor

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

LefterisKoumis
Regular Contributor

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

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

This behavior will likely change in the 4.0 API