I have a little doubt, I'm making an Android app of a subject I have and it consists of the fact that depending on the user's position, a nearby bar / restaurant is recommended to eat according to certain parameters that the user enters (radio , price and quality).
So far everything is perfect, I take the user's position (latitude and longitude) and I take the position of the bar (latitude and longitude).
What I would like to do is to draw a route on the map between the position of the user and the position of the restaurant bar, and that as the user moves, they update their position on the map until they reach their destination .
I have searched through the different Stack Overflow posts for some information and the one I find is somewhat diffuse, or I do not know how to apply it to what I want to do.
If you could help me in any way, either by showing me a post where you talk about it in which I have not looked or a web page where you see information about what I'm looking for that has not looked, I would be eternally grateful .