OpenLayers OpenLayers

Ticket #120 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

LayerChanged event

Reported by: crschmidt Assigned to:
Priority: minor Milestone: 2.0 Release
Component: general Version:
Keywords: Cc:
State:

Description

since we can now setParams on some layers, and the name of a layer can be changed after it's created, we should create a LayerChanged event that we can hook into in the LayerSwitcher that lets us redraw the layer. this will eventually be needed when we can move layers as well.

Change History

08/10/06 02:09:17 changed by euzuro

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

with dev of new layer switcher, "changelayer" event was added to map.events. I added a trigger for this on name change of layer. (r1188)

I can't see a good reason why to put it in mergeParams... so I am closing it. If anyone can explain to me why, feel free to reopen this.

08/16/06 00:57:45 changed by euzuro

  • milestone changed from 2.1 Release to 2.0 Release.