SortByDistance
Last edit: Oct 13, 2026
Sort by distance from a reference point
type SortByDistance {
field_name: String!
reference_point: GeoPoint!
unit: DistanceUnit
}
Fields
field_name (String)
Location field to measure the distance from, e.g. "geo_location"
reference_point (GeoPoint)
Point the distance is measured to, usually the current location
unit (DistanceUnit)
Unit in which the distance is computed