Simply get the distance between two points, and see if it's within the desired radius.
If the Google Maps API doesn't have a function for that (and it would honestly surprise me if it didn't), you can use the class in this article to determine the distance between two GPS points.
A Handy GPS Class[
^]