I have a small number of location nodes with geofields, and need to programmatically get the distance between a location and a zip code. It would be ideal if I could get a query, or a sort, of my location nodes by proximity to the zip code. I couldn't easily tell how to do this in the geoPHP module.
1 Answer
In short : Use the Location Distance field in Views.
In detail : Check out the video http://www.youtube.com/watch?v=AxeskzN8BAc
-
1