geoext / geoext2

GeoExt 2 — JavaScript Toolkit for Rich Web Mapping Applications
http://geoext.github.io/geoext2/
Other
142 stars 106 forks source link

hierarchical layer trees #354

Closed jgrocha closed 9 years ago

jgrocha commented 9 years ago

Hi,

I used before two nice classes to create hierarchical layer trees, just by setting a property group (with the hierarchy divided by '/') in the layer definition. The classes are: GeoExt.tree.LayerTreeBuilder (extends GeoExt.tree.Panel) GeoExt.tree.LayerGroupContainer (extends GeoExt.tree.LayerContainer)

There is probably a reason for this classes have been taken away but I don't remember. Should I make a pull request to add them back to geoext2? Maybe with one example of usage?

Regards!

marcjansen commented 9 years ago

I have never used them, but am not opposed to have them in again. Was this GeoExt 1?

Anyhow, if you could give us some code, it'd be easier to see if we will merge this in. Thanks.

jgrocha commented 9 years ago

Hi Marc,

Thanks for the feedback. I've submmited a PR with these classes.

Regards!