ParseQueryTWhereWithinDistance Method Parse
Adds a proximity-based constraint for finding objects with keys whose GeoPoint values are near the given point and within the maximum distance given.

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public ParseQuery<T> WhereWithinDistance(
	string key,
	ParseGeoPoint point,
	ParseGeoDistance maxDistance
)

Parameters

key
Type: SystemString
The key that the ParseGeoPoint is stored in.
point
Type: ParseParseGeoPoint
The reference ParseGeoPoint.
maxDistance
Type: ParseParseGeoDistance
The maximum distance (in radians) of results to return.

Return Value

Type: ParseQueryT
A new query with the additional constraint.
See Also

Reference