How to decide the current point reach on google map?
I have a list of points (pickup points) of a route that I want to show in my google map with polyline.
Now i have to get the current location of bus after every 30 second, so now how we can assume that our current location is reach on our pickup up point location. because they may be differ in some point in lat & long. I want to send sms for the peoples whose pickup point is next pick up point. so need to find out that the current pickup point reach.
Also there is some scenario when bus not goes on predefined route? How can we do this type of functionality?