1

I want to create a filter where companies are able to find users within eg. 10 kilometers using users added long/lat and the company's long/lat they have added.

I am using geolocation but how am I going to go about this?

2

1 Answer 1

1

As Jimajamma pointed out, the Location module along with Views will allow you to filter by distance. I am currently using zipcodes to filter by, but one could do geocoordinates as well.

Here is a step by step article on how to achieve filtering. Although the article is a tad old, it is still relevant and can easily be adapted for drupal 7.

http://drupal.org/node/359463

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.