<private> new GeoDistanceSort()
Members
-
<private> toJSON
-
Serializes this query to JSON for network dispatch.
Methods
-
descending(descending) → {SearchSort.GeoDistanceSort}
-
Specifies whether to sort descending or not
Parameters:
Name Type Description descending
boolean Returns:
-
unit(unit) → {SearchSort.GeoDistanceSort}
-
Specifies the unit to calculate distances in
Parameters:
Name Type Description unit
string Returns: