OK, so I have two sets of data. Category and Locations that have that Category. (so a one to many).
To make things easier I have a list of Locations on the Category, and I am also adding a count of locations so I can directly sort on this.
I need to be able to filter the list of Categories based upon distance from Current Position. I can’t do this on the database, as it is dynamic.
Is there any way to do this ?
Trying it the other way round…
I can create a list of Location Categories that are nearby…but then I get duplicates in the list if there are two places nearly with the same Category. But I can’t find a way to remove duplicates from the list.