James Rogers
ย ยทย www.livemusicfinder.ca

How to filter a query based on a users location?

Resolved

I have a list of events. The events have long/lat data. I want to filter the list on page load.

If user is in location X then show all events within 100 miles of that users location.

Is this possible? I was thinking custom function somehow? Are there any docs on how to do something like this? I can't find anything.

2
13 replies