-
Display the map on the screen.
-
Get the driver’s location.
-
Place the driver’s location on the map.
-
Every set interval (eg 10 seconds or whatever makes sense for your app) update the driver’s location on the map by redoing steps 2 and 3.
-
Once the driver reaches their destination stop tracking them.
2 Likes