[OpenLayers-Users] Why WFS Layer Displayed very slowely over Google Map

Mustafa646 noorcs22 at gmail.com
Fri Mar 4 08:28:48 EST 2011


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);

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Why-WFS-Layer-Displayed-very-slowely-over-Google-Map-tp6088473p6088473.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list