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:
@@ -384,18 +384,18 @@ OpenLayers.Format.Filter.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
this.writeNode(node, "Distance", filter);
|
this.writeNode(node, "Distance", filter);
|
||||||
return node;
|
return node;
|
||||||
},
|
},
|
||||||
"INTERSECTS": function(filter) {
|
"INTERSECTS": function(filter) {
|
||||||
var node = this.createElementNSPlus("ogc:Intersects");
|
var node = this.createElementNSPlus("ogc:Intersects");
|
||||||
this.writeNode(node, "PropertyName", filter);
|
this.writeNode(node, "PropertyName", filter);
|
||||||
var gml = new OpenLayers.Format.GML();
|
var gml = new OpenLayers.Format.GML();
|
||||||
node.appendChild(gml.buildGeometryNode(filter.value));
|
node.appendChild(gml.buildGeometryNode(filter.value));
|
||||||
return node;
|
return node;
|
||||||
},
|
},
|
||||||
"Distance": function(filter) {
|
"Distance": function(filter) {
|
||||||
return this.createElementNSPlus("ogc:Distance",
|
return this.createElementNSPlus("ogc:Distance",
|
||||||
{attributes: {units: filter.distanceUnits},
|
{attributes: {units: filter.distanceUnits},
|
||||||
value: filter.distance});
|
value: filter.distance});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user