Mustafa646, 

I think this was said before, but I'll try explain better. What you want to do 
is change to using a WMS layer to display these features, and then on click do 
a WFS call to get the feature info to display. The display of the features will 
take a little bit longer but your app with be usable.

hth,
charles

On Mar 4, 2011, at 8:28 AM, Mustafa646 wrote:

> With the help of code below, i draw WFS Layer (3500 features) over google
> map. But it takes so much time to draw completely, and my explorer freezs
> some time. But the code works fine with small files like (200 features).
> 
> Actually i want to identify some specific feature under Button click event
> by passing that feature's attribute value through textbox. For that reason,
> i need to display Vector Layer (consists of 3500 polygon features) over
> Google Map.
> I search a lot, but could not find a way, how i can make it fast ?
> 
> need help !
> code:
> 
> wfs = new OpenLayers.Layer.Vector("Data", {
>                strategies: [new OpenLayers.Strategy.BBOX()],
>                protocol: new OpenLayers.Protocol.WFS({
>                    url: "http://localhost:8080/geoserver/wfs";,
>                    featureType: "traget_grave3",
>                    featureNS: "http://www.openplans.org/TestSpace";,
>                    srsName: "EPSG:900913",
>                    version: "1.1.0",
>                    isBaseLayer: false,
>                    visibility:true
>                })
>            });
> 
> map.addLayers(wfs);

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

Reply via email to