Hy,
Try this:
var filterParams = {cql_filter: null};
filter = "yourAttribut='valueOfYourAttribute'"
filterParams["cql_filter"] = filter;
yourLayer.mergeNewParams(filterParams);
cheers David
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/applying-CQL-filter-tp5129485p5129528.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users