I’m looking to calculate the distances between the current user’s position and all other user’s positions near the user and then add them to the document returned in the publication.
Is it possible to add a calculation to a publication and append it to the returned document?
I am using mongo’s 2dsphere for setting up the locations and the queries which is working great.
I see that there is a mongo function db.runCommand geoNear. Is it possible to use that with Meteor?
Thanks guys and apologies for my noobiness!