I am using drupal 6.X I am creating an api through views and views datasource module in which i will add the latitude and longitude of the location in the end of the url as we define the arguments in the view so that i can get the list of users in the order of the nearest first.


I think you are telling about the proximity search and you want to display the user/nodes with in a particular distance based on the location of a single user/node.

You can select the "location" in the filter and there you can see the distance/proximity option enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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