I have a site I'm working on that will find music teachers near students. The student can look for teachers by choosing a distance from their address.
I have a method calculate() that will take two latitude/longitude coordinates and calcualte the distance between the two points. It works great.
How do I create a query that will find all of the teachers with lat/long within a distance from the student?