Skip to main content

DistanceResult

A DistanceResult represents how close a location is to the user's real location. This is a pure measurement — it no longer carries any rating category. The same_country flag feeds the ranking as a preference for domestic servers — within a score band, same-country servers rank first (see Smart Locations). Within a ClusterMetrics it appears as the optional distance field.

NameTypeDescription
distance_kmunsigned 32Physical distance in km between the user location and the server location.
same_countryBooltrue if the server location is in the same country as the user location.