I am working on an app that tracks user location and makes a route on google map. I am providing a google map polyline to travel on that. currently, I want to know that user is travelling on provided polyline(route) or not. So I need to compare provided polyline(route) and user traveling polyline(route).
Please help me to find a solution for this. Thanks in advance.