Ticket #316 (closed enhancement: duplicate)
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
Note: See
TracTickets for help on using
tickets.
