Re: [OpenLayers-Users] Re: How to apply a Search Function

2012-02-12 Thread Phil Scadden
I'm a little lost by your code. the wfsprotocol.read should be called in response to the input submit. You need to construct the filter so it is matching the property to the value of searchText not to the literal "searchText". The best way to sort out what is going on in your code is use firebu

Re: [OpenLayers-Users] Re: How to apply a Search Function

2012-02-09 Thread Phil Scadden
> *Ok .. > these are my protocol + my vector layer:* > > var wfsprotocol = new OpenLayers.Protocol.WFS({ > url: "http://IP/geoserver/wfs";, > featureType: "myLayer", > featureNS: "http://mapmap.org";, > srsName: "EPSG:3857

Re: [OpenLayers-Users] Re: How to apply a Search Function

2012-02-07 Thread Phil Scadden
> *Thank you so much Mr.Phil > > but would you please explane your idea much more ? > coz I'm new at field and need some details Well be prepared for a fair bit of work and learning then. Assume from application logic that you have the text you want to search for and you know which layer you are

Re: [OpenLayers-Users] Re: How to apply a Search Function

2012-02-06 Thread Imran Rajjad
you can use Jquery and use the autocomplete option.. http://jqueryui.com/demos/autocomplete/ you will need the cache all the options first in this case. regards, Imran On Mon, Feb 6, 2012 at 2:46 PM, Diego M. wrote: > > > *I want to build the same example here* > http://ian01.geog.psu.edu/geo