My app has a map section with various veterinary locations in different parts of the city. What I want to do is allow each user to see their current location on the map so they can see which veterinary clinics are closest to them. The idea is that as they walk or move, the app can show them the nearest options or allow them to see it on the map, knowing their current location. The veterinary clinics are in a database where they have coordinates; this is the source for the map component. On the other hand, for the current location component, I have set it up to be filled in a column that is in the Users database. I am not sure if this practice is suitable for displaying the user’s location on the map. I appreciate your help in advance
You can use this column to calculate distance from user’s location to your veterinary locations, then show them only records that are under a specified threshold.