Hi,

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.

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.

-Ravi.




________________________________
From: Mustafa646 <[email protected]>
To: [email protected]
Sent: Fri, March 4, 2011 10:26:27 AM
Subject: [OpenLayers-Users] Re: Why WFS Layer is displaying very slowely over 
Google Map.

I am not going to click on feature to get feature's info. I need a different
scenario.

In my case, The requirement is to highlight a specific feature under Button
click event.  Actually I have a Button and Textbox. The user puts some value
in textbox and press the button, Under Button click event, Textbox value
needs to compare with specific column value  of all the features (3500
features) in loop. And finally, one feature will be selected based on
comparision. 

so, for this reason, i need all the features displayed over google map
before performing the above action. Now, Please guide me How I can draw
Vector Layer fastly. OR is there any other way to solve this problem?

Regards



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Why-WFS-Layer-is-displaying-very-slowely-over-Google-Map-tp6085290p6088848.html

Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users



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

Reply via email to