Hi,

I'm trying to create  a vector layer from a WFS, and limiting to 150
features, in this way:

wfs = new OpenLayers.Layer.Vector("WFS", {
    strategies: [new OpenLayers.Strategy.BBOX()],
        protocol: new OpenLayers.Protocol.WFS({
            url: "http://localhost:8080/geoserver/wfs";,
            featureType: "test_points",
            featureNS: "http://www.mapmap.org/g4wd";,
            extractAttributes: false,
            maxFeatures: "150"
        }),
        styleMap: myStyles
    });

And the 150 features are displayed ok. The best way to refresh the features
when zooming or moving, is to catch each event and call to the refresh
method of the vector layer? Or is there any way to make an automatic
refresh?

Thanks!
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to