make use of WFS paging backported to WFS 1.1, thanks ahocevar for the improved patch, r=ahocevar (closes #3213)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11779 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2011-03-30 12:47:42 +00:00
parent 147e5bba1a
commit a108fb86bb
3 changed files with 31 additions and 2 deletions

View File

@@ -109,8 +109,10 @@ OpenLayers.Format.WFST.v1_1_0 = OpenLayers.Class(
"wfs": OpenLayers.Util.applyDefaults({
"GetFeature": function(options) {
var node = OpenLayers.Format.WFST.v1.prototype.writers["wfs"]["GetFeature"].apply(this, arguments);
options && options.resultType && this.setAttributes(node, {
resultType: options.resultType
options && this.setAttributes(node, {
resultType: options.resultType,
startIndex: options.startIndex,
count: options.count
});
return node;
},