Real time tracking with google maps inside the application


I make an application like food ordering in ionic v1, and i have both the lat longs of source and destination. now i just want to draw the path between source and destination and my marker should move with real time like in google maps navigation.


For real time navigation you need to call the google api to draw marker in an interval (Inside a loop) .For real time data accessing need to use a firebase like database(3-way binding)