[Users] Layer group with legend
Andreas Hocevar
ahocevar at opengeo.org
Mon Oct 18 22:53:38 CEST 2010
Hi Alexandre,
this is definitely possible. All you need to do is configure your LayerParamLoader with a custom createNode function that creates an appropriate LayerLegend instance. Pretty much the same as in the tree-legend.html example.
Does this answer your question or do you need more details?
Regards,
Andreas.
On Oct 18, 2010, at 22:02 , Alexandre Dube wrote:
> Hi,
>
> Is it possible to use a "group layer" as shown in this example [1]
> with each "param/layer" generated node having its own "legend" node [2]
> ? I would like to have one OpenLayers.WMS object in the end. Is that
> possible with the current GeoExt legend and tree features available ?
>
> Thanks,
>
> [1] http://api.geoext.org/1.0/examples/tree.html
> [2] http://api.geoext.org/1.0/examples/tree-legend.html
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list