[OpenLayers-Users] How to use CQL filter
Phil Scadden
p.scadden at gns.cri.nz
Sun Feb 19 15:15:30 EST 2012
On 19/02/2012 2:48 a.m., Shadin wrote:
> I have a vector layer with many features and i need to filter it by user
> input.
> if the user inter [ id ] in a search box, just that feature has to be
> displayed on the map. like a search function.
Your cql filter would be "id = 34004" for example to search for 340004.
Construct a filter with as
per the example with filter = format.read("id=34004").
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
More information about the Users
mailing list