port over another WFS 1.1 testcase

This commit is contained in:
Bart van den Eijnden
2013-10-23 15:24:23 +02:00
parent a77632a88c
commit c4e7d4437c
3 changed files with 30 additions and 2 deletions

View File

@@ -54,7 +54,9 @@ ol.parser.ogc.WFS_v1_1_0 = function() {
var options = obj.options;
var node = obj.node;
if (goog.isDef(options)) {
node.setAttribute('resultType', options.resultType);
if (goog.isDef(options.resultType)) {
node.setAttribute('resultType', options.resultType);
}
if (goog.isDef(options.startIndex)) {
node.setAttribute('startIndex', options.startIndex);
}