Space only, nothing to see here.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7951 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-09-04 20:44:10 +00:00
parent 5084ea6a91
commit c83403fa67

View File

@@ -384,18 +384,18 @@ OpenLayers.Format.Filter.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
this.writeNode(node, "Distance", filter);
return node;
},
"INTERSECTS": function(filter) {
var node = this.createElementNSPlus("ogc:Intersects");
this.writeNode(node, "PropertyName", filter);
var gml = new OpenLayers.Format.GML();
node.appendChild(gml.buildGeometryNode(filter.value));
return node;
},
"Distance": function(filter) {
return this.createElementNSPlus("ogc:Distance",
{attributes: {units: filter.distanceUnits},
value: filter.distance});
}
"INTERSECTS": function(filter) {
var node = this.createElementNSPlus("ogc:Intersects");
this.writeNode(node, "PropertyName", filter);
var gml = new OpenLayers.Format.GML();
node.appendChild(gml.buildGeometryNode(filter.value));
return node;
},
"Distance": function(filter) {
return this.createElementNSPlus("ogc:Distance",
{attributes: {units: filter.distanceUnits},
value: filter.distance});
}
}
},