Print Miles/Kilometers

Hello there is a way for print results distance?

example:

shop1 → 23km
shop2 → 21km
shop3 → 15km
etc…

thanks

When doing geosearch, you can add getRankingInfo: true to your query to get additional metadata in your results, including the distance in meters (divided by the precision):

"geoDistance": 1600,
"geoPrecision": 1,

More info: