Hello guys,
.
I was wondering if it is possible to add 2 nearSphere() methods in QueryBuilder?
There are 2 near() methods there now:
near( double x , double y )
near( double x , double y , double maxDistance )
It would be cool to have following 2 methods as well:
public QueryBuilder nearSphere(double longitude, double latitude)
{
addOperand( "$nearSphere" , new Double[]
);
return this;
}
public QueryBuilder nearSphere(double longitude, double latitude, double radius)
{
addOperand( "$nearSphere" , new Double[]
);
return this;
}
Thanks in advance,
Damir