I am creating a Flutter app with Google APIs integration. So I use Google Directions API and I store the results on a Firestore collection. I try to find the best and efficient solution for the below task: Let's say that I have 1000 routes from API stored on my Firestore. How can I find which of them pass near by my location (long,lat given)? And which of them are the nearest?
Asked
Active
Viewed 41 times