You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var query = new Stamplay.Query('object', 'photo').near('Point', [ 41.273237238849845, 1.6969573974609098 ], 900000, 0 );
query.exec().then(function(response){
console.log(response.data);
});
should not only select within the given distances, but also sort by distance according to mongodb documentation:
The following example returns documents that are at least 1000 meters from and at most 5000 meters from the specified GeoJSON point, sorted from nearest to farthest:
This:
should not only select within the given distances, but also sort by distance according to mongodb documentation:
The following example returns documents that are at least 1000 meters from and at most 5000 meters from the specified GeoJSON point, sorted from nearest to farthest:
The text was updated successfully, but these errors were encountered: