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.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to