AnsweredAssumed Answered

layerIds or _layers ?  I'm missing something in the management layers.

Question asked by igeolab on Jun 8, 2014
Latest reply on Jun 8, 2014 by igeolab

I use a piece of code that loops through a configuration file and create layers according to their type. Then all the layers and add to the map.
It works without any problem layers appear correctly on the map, but after when I want to loop over layerId I can not find my layers.
I put two screenshots to show in debug mode content. is empty :

[ATTACH=CONFIG]34434[/ATTACH] contains my layers :


Someone has an answer or perhaps has already across this problem ?


The code is an extract of the great customizable viewer of David Spriggs here: