<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi,<br><br>I would initially suggest what Phil and Alexandre mentioned earlier(going with WMS initially for showing the features and wfs for getting the features). In your case, the click doesn't come from map.<br><br>If you have a database serving your data, you can run Ajax call to the database(use your server side language) and fetch the primary key you wanted from the database based on entered text. Then you can run a WFS call to retrieve the geometry for that feature based on primary key you fetched.<br><br>-Ravi. <br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Mustafa646
<noorcs22@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> users@openlayers.org<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, March 4, 2011 10:26:27 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [OpenLayers-Users] Re: Why WFS Layer is displaying very slowely over Google Map.<br></font><br>I am not going to click on feature to get feature's info. I need a different<br>scenario.<br><br>In my case, The requirement is to highlight a specific feature under Button<br>click event. Actually I have a Button and Textbox. The user puts some value<br>in textbox and press the button, Under Button click event, Textbox value<br>needs to compare with specific column value of all the features (3500<br>features) in loop. And finally, one feature will be selected based on<br>comparision. <br><br>so, for this reason, i need all the features displayed over google map<br>before performing the above action. Now,
Please guide me How I can draw<br>Vector Layer fastly. OR is there any other way to solve this problem?<br><br>Regards<br><br> <br><br>--<br>View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Why-WFS-Layer-is-displaying-very-slowely-over-Google-Map-tp6085290p6088848.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Why-WFS-Layer-is-displaying-very-slowely-over-Google-Map-tp6085290p6088848.html</a><br>Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.osgeo.org" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br></div></div>
</div><br>
</body></html>