Ticket #316 (closed enhancement: duplicate)

Opened 5 years ago

Last modified 5 years ago

LayerTree does't update when adding layers in OpenLayers Map

Reported by: bertdelongue Owned by: sypasche
Priority: major Milestone:
Component: Tree.client Version: SVN
Keywords: layertree, addlayer, listener, map Cc:
State:

Description

When adding layers in the Open Layers? Map on which we created an automatic Layer Tree?, using a custom button (triggereing some map.addlayer(aaa) OL function), the mapfish.layertree doesn't update.

I suggest to set up a dedicated listener, so that OL.map and mapfish.layertree are synchornised transparently.

Change History

Changed 5 years ago by fredj

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

see #66

Note: See TracTickets for help on using tickets.