Opened 16 years ago

Closed 15 years ago

#167 closed defect (fixed)

check mapgroup in legend

Reported by: klement Owned by: madair
Priority: P2 Milestone: 2.0
Component: Widgets Version: 1.1.0
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New


When check on a group in legend, all layers in group set visible. I suggest in mapserver.js showGroup method show only the checked layers: old: for (var i=0; i<group.layers.length; ++i) {



new code: for (var i=0; i<group.layers.length; ++i) {

if (group.layers[i].legend.checkBox.checked)



Change History (1)

comment:1 by madair, 15 years ago

Resolution: fixed
Status: newclosed

(In [1755]) closes #167: restore previous state of layers after show/hide of groups in the legend

Note: See TracTickets for help on using tickets.