jpowers/node-google-places — pull request #6 by mheadd (2012-10-08 19:09:15+00:00)
Title: Modified use of radius when rankby=distance is used.

When doing a place search where 'rankby=distance' parameter is used, radius needs to be excluded:

"Note that radius must not be included if rankby=distance (described under Optional parameters below) is specified."

and

"Ranking results by distance will set a fixed search radius of 50km"

Added logic to check for the ranby param and adjust accordingly.