As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I understand that by doing --- query.near('_geoloc', coord, 10); gives me all restaurants ordered by distance within 10 miles. But what is that distance value? is there any way to get it?
1 Comment
M
Mark
said
over 9 years ago
This is not returned as part of the query. However, given that you have `coord`, and the returned restaurants will have a `_geoloc` field, you can use the [Haversine formula](http://www.movable-type.co.uk/scripts/latlong.html) to calculate the distance yourself.
Rohit Kondekar