That's a good idea...works!

Thank you

2010/7/26 Julien-Samuel Lacroix <[email protected]>:
> Hi,
>
> In one of our application, what we did is adding "group" to the layer
> options and filter on that.
>
> loader: {
>        filter: function(record) {
>            return record.get("layer").options.group == "Group1"
>        },
>
> This give us a layer customisable by groups of layer.
>
> Julien
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to