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?
The order you place then in using the LL Widget is not significant as the JS API will always place FeatureLayers above other types.
Thank you. I must skipped reading it somewhere in the JS API docs.
This behavior will likely change in the 4.0 API
Retrieving data ...