title: Google Map Directions API Optimize Waypoint and Force Waypoint Order
body: <p>I am having difficulty in overcoming the situation I am facing. I have a route as follow:</p>
  
  <p>StartPoint</p>
  
  <p>WayPoint A-1 &lt;--- Pickup</p>
  
  <p>WayPoint A-2 &lt;--- Dropoff</p>
  
  <p>WayPoint B-1 &lt;--- Pickup</p>
  
  <p>WayPoint B-2 &lt;--- Dropoff</p>
  
  <p>WayPoint C-1 &lt;--- Pickup</p>
  
  <p>WayPoint C-2 &lt;--- Dropoff</p>
  
  <p>EndPoint</p>
  
  <p>A bus is starting to drive from Start Point and it is supposed to pick 3 passengers up (A, B, C) and drop them off in different locations. The locations are not static and it changes based on passenger.</p>
  
  <p>If I pass all these to google map directions api and set the OptimizeWaypoint option to true the issue that occurs is sometimes the dropoff waypoint occurs before pickup waypoint for a passenger due to route optimization. </p>
  
  <p>Does anyone know a solution to force google map api route optimization to always have pickup before the dropoff for each passenger please?</p>
  
  <p>I appreciate all your help in advance guys.</p>