Ticket #3 (closed feature: fixed)

Opened 7 years ago

Last modified 7 years ago

Create LayersChanged event

Reported by: crschmidt@… Owned by: sderle
Priority: blocker Milestone: Aotearoa
Component: Events Version:
Keywords: Cc:
State:

Description

The LayerSwitcher control needs to know when a layer has been added, removed, or its status changed.

Change History

Changed 7 years ago by sderle

  • status changed from new to assigned

Changed 7 years ago by sderle

I created an "addlayer" event that is triggered whenever map.addLayer() is called... will that do?

Changed 7 years ago by crschmidt

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

Currently, only the LayerSwitcher and addLayer have any effect on the layers, so this is enough for the time being. Closing this -- when we start moving layers around and so on, I'll create a new ticket to add more to the LayersChanged listener.

Note: See TracTickets for help on using tickets.