[OpenLayers-Users] applying CQL filter

Imran Rajjad rajjad at gmail.com
Wed Jun 2 03:29:08 EDT 2010


Hi,

thanks for your reply, actually there is a list of checkboxes, and i
have a function when called returns a string containing a cql filter
string

applyFilterBTS() returns a string something like : "Include" .... or
"OPERATOR='M' OR OPERATOR='Z'"

can this string be appended ?

regards,
Imran

On Wed, Jun 2, 2010 at 11:50 AM, T at f!t <grob_david at gmx.ch> wrote:
>
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
I.R



More information about the Users mailing list