1
0
Fork 0

fixed tests

This commit is contained in:
Jan Steemann 2014-11-17 13:31:02 +01:00 committed by Frank Celler
parent 2b22ea0d0b
commit a2a77f7c0d
1 changed files with 19 additions and 0 deletions

View File

@ -1222,6 +1222,25 @@ SimpleQueryWithin.prototype._PRINT = function (context) {
context.output += text; context.output += text;
}; };
////////////////////////////////////////////////////////////////////////////////
/// @brief adds the distance attribute
////////////////////////////////////////////////////////////////////////////////
SimpleQueryWithin.prototype.distance = function (attribute) {
var clone;
clone = this.clone();
if (attribute) {
clone._distance = attribute;
}
else {
clone._distance = "distance";
}
return clone;
};
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// --SECTION-- SIMPLE QUERY WITHINRECTANGLE // --SECTION-- SIMPLE QUERY WITHINRECTANGLE
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------