id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,external_id 1012,Expand/collapse layer or group in legend by layerName (API Viewer legend),lgoubet,,"Hi, I added two public functions in the file legendctrl.templ for expand or collapse a layer or group in legend viewer. function ExpandLayerInLegend(expandInLegend,layerName) function ExpandGroupInLegend(expandInLegend,groupName) expandInLegend is a boolean Moreover, for this, I added 6 functions: function ExpandLayerInLegend(expandInLegend,layerName) function ExpandGroupInLegend(expandInLegend,groupName) function FindGroupByName(nodes, groupName) function FindLayerByName(nodes, layerName) // if expandInLegend==true => node group and all parents of this group are expanded // if expandInLegend==false => only node group is collapsed function ExpandAllGroupParentInLegend(expandInLegend,node) function GetGroupByLayer(layerName) Thanks ",enhancement,closed,medium,,Viewer API,,trivial,fixed,"expand, haspatch",lgoubet@…,