[Users] Features in Layer Tree?

Andreas Hocevar ahocevar at opengeo.org
Fri Apr 2 18:37:06 CEST 2010


Layer nodes are just like other tree nodes, so they can have custom
actions and children. But you would have to write custom code to
populate them with features.

Another thing you could do is try the new TreeGrid in Ext 3.2. This
can be populated from a store, and we do have a
GeoExt.data.FeatureStore.

Regards,
Andreas.

On 4/2/10, Tom Hansen <tomh at uwm.edu> wrote:
> Very simple question, that I cannot seem to find the answer to anywhere:
>
> Is there a supported method to include individual features in a layer tree?
>
> I am reading in layers from individual KML files and have each KML
> represented in a layer tree.  It works perfectly.  However, I would like
> to add the ability to "open" the layer on the tree and see the
> individual features, and be able to turn them on/off with checkboxes,
> just like at the layer level.  Is there already a supported way to do
> this?  Or do I need to "roll my own" as it were?
>
> Thank you!
>
> --
> Tom Hansen
> Senior Information Processing Consultant
> UWM Great Lakes WATER Institute
> www.glwi.uwm.edu
> tomh at uwm.edu
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
Sent from my mobile device

Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list