This method must be called after near() or nearSphere(), since placement
of the $maxDistance option depends on whether a GeoJSON point or legacy
coordinates were provided for $near/$nearSphere.
public maxDistance ( float $maxDistance ) | ||
$maxDistance | float |