Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grouped WMS Layer #283

Open
yobiSource opened this issue Aug 21, 2014 · 3 comments
Open

Grouped WMS Layer #283

yobiSource opened this issue Aug 21, 2014 · 3 comments

Comments

@yobiSource
Copy link

Is there an example of grouped WMS as in v1.1?
http://api.geoext.org/1.1/examples/tree.html

This greatly reduces the traffic with many layers.

@chrismayer
Copy link
Contributor

As far as I can tell grouped tree layer nodes are not implemented in GeoExt 2.0.x. So there is no example showing this.

@yobiSource
Copy link
Author

Is it easy to implement?
This is the only reason why I can not use geoext2.

@chrismayer
Copy link
Contributor

To implement this as application code should be doable. You can orientate yourself at the GeoExt 1.1 code doing this: https://github.com/geoext/geoext/blob/master/lib/GeoExt/widgets/tree/LayerParamNode.js

A possible way would be to implement your own LayerContainer as a subclass of https://github.com/geoext/geoext2/blob/master/src/GeoExt/tree/LayerContainer.js with a custom LayerLoader, which detects your child layers of your group layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants