I would like to sort my results by proximity in Drupal 7 Views.

I have already read the geofield proximity in views topic.

But that tutorial is using a location provided by the user (exposed filter) and I would like to use the location provided by the HTML5 API call for an anonymous user, and want to order the results by distance.

Using the "current user" as source does not work, although the page asks for location from the browser.

Any help would be appreciated!

  • Is it working with exposed user (exposed filter) ? – visabhishek Apr 5 '16 at 14:03
  • Yes, its working when exposed. – Mihaly Vukovics Apr 5 '16 at 16:07

Your Answer

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

Browse other questions tagged or ask your own question.