I am trying to re-route my directions on Google Maps but there is an issue with me that I am not sure when I have to re-route the route.
So anyone tells me that how to detect that a geo point is inside a draw polyline or not??
Because when that point will land outside that polyline I can easily re-route my directions.
Thanks in advance,