So, I'm building an app that's using Firestore to store data from its users. In the users doc there's a field called location that is storing the location from each user whenever they access the map on the app.
My question is if is there a way to get the nearby users location (getting it from the info Firestore has stored), so I can display a marker on the map in that location, for the user that its currently using the app?
Is there a better way to approach this? I'd also like to disclaim that I'm not currently interested in either the battery usage or user privacy as this app is only for testing purposes for a class.