I'm new to the google maps API and i'm interested in whether can i use predefined markers on map as a waypoints. For example i'm going from point A to point B and i'm interested in if points C, D and E are in the route of the direction from A to B. I want to know if this is possible.
For those who can't fully understand my question, imagine line as a route of google maps directions API (Generated by this API). this line (route) has starting point A, and end point B. How can i check if in this route there are C, D, E, points, or not.
Also i'm interested in can i perform such work to make routes so that C, D, E markers must be in the A to B route. i.e. when i choose origin and end points, make sure that generated route go on points D, C, E ?
Thanks in advance Giorgi Jambazishvili