Opened 16 years ago

Closed 16 years ago

#123 closed defect (fixed)

legend broken after changing map with MapMenu-widget

Reported by: andymorf Owned by: madair
Priority: P2 Milestone: 1.1
Component: Widgets Version: 1.1 RC1
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

The initial map is displayed correctly, but after switching to another map the Legend is broken (or not loaded correctly) and firebug mentions following error in file 'Legend.js':

layer.legend has no properties

if (range == layer.legend.currentRange && layer.legend.treeItem) {....

Change History (2)

comment:1 by madair, 16 years ago

(In [1527]) re #123: reset the legend layerRoot property after switching maps

comment:2 by madair, 16 years ago

Resolution: fixed
Status: newclosed

(In [1528]) closes #123: fix applied to trunk

Note: See TracTickets for help on using tickets.