Opened 8 years ago

Closed 8 years ago

#264 closed enhancement (invalid)

Make LayerLegend listen for layerchange event

Reported by: ahocevar Owned by:
Priority: major Milestone: 0.7
Component: GeoExt Version: trunk
Keywords: Cc:
State: None

Description (last modified by ahocevar)

If a layer name, or layer params like STYLE are changed using mergeNewParams, the legend image should be updated. To do so, we need to listen to the layers's changelayer event. The attached patch adds this feature.

Tests still pass, please review.

Attachments (1)

geoext-264.patch (933 bytes) - added by ahocevar 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by ahocevar

comment:1 Changed 8 years ago by ahocevar

  • Description modified (diff)
  • Summary changed from Make WMSLegend listen for layerchange event to Make LayerLegend listen for layerchange event

comment:2 Changed 8 years ago by ahocevar

  • Resolution set to invalid
  • Status changed from new to closed

Marking as invalid - the changelayer event is handled by the LayerStore already, and since we are connected to a layer record, things should be fine.

Note: See TracTickets for help on using tickets.