[OpenLayers-Users] Vector WFS Layer Does Not Refresh on Panning Map

Donald Kerr donald.kerr at dkerr.co.uk
Fri Mar 2 15:07:25 EST 2012


I have just switched from 2.10 to 2.11. With 2.11, the following layer works
with the initial load, i.e. the releavant wfs features are drawn, but when
the map is panned, no further features are requested or drawn. It works with
2.10. I have tried both wfs 1.0.0 and 1.1.0; neither works in 2.11 and both
work in 2.10.

	var layerMyWFS = new OpenLayers.Layer.Vector("MyFeatures", {
		strategies: [new OpenLayers.Strategy.BBOX()],
		protocol: new OpenLayers.Protocol.WFS({
		url: "http://localhost/mapserver/mapserv.asp",
			featureType: "MyFeatures",
			featureNS: "http://mapserver.gis.umn.edu/mapserver",
			featurePrefix: "ms",
			geometryName: "msGeometry",
			srsName: "EPSG:27700",
			version: "1.1.0" 
		}),
	});

Any advice appreciated.

Many thanks.

Regards,

Donald



More information about the Users mailing list