Ticket #123 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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: External ID:
state: New Browser: All
Operating System: All

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

Changed 3 years ago by madair

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

Changed 3 years ago by madair

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.