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 , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [1527]) re #123: reset the legend layerRoot property after switching maps