frank.li.oxygen

Question about reorder layer list

Discussion created by frank.li.oxygen on Feb 10, 2014
lyrs = dojo.map(lyrInfos, function (li, reorder_idx) {             
         var lyrName = li.name.split(".")[li.name.split(".").length-1];
          app.layerLookup[lyrName] = reorder_idx;
          // only want the layer's name, don't need the db name and owner name
   return lyrName;
 

        });

in this part, how can I add more information from database in variable "lyrName" ?

Thank you!

Outcomes