title: How to find direction points using Google Maps API 3?
body: <p>I am drawing a route in Google Maps. I have passed the start point, way points and end points. My route is drawing correctly. I am using Google Maps API 3.</p>
  
  <pre><code>request = {
    origin: originAddress,
    destination: destinationAddress,
    waypoints: waypoints,
    optimizeWaypoints: false,
    travelMode: google.maps.DirectionsTravelMode.DRIVING
  };
  
  directionsService.route(request, function(response, status) {
    if (status == google.maps.DirectionsStatus.OK) {
      directionsDisplay.setDirections(response);
    }
  }
  </code></pre>
  
  <p>If I change the route direction, then how to find the changed direction points' latitude and longitude?</p>
  
  <p><img src="https://i.stack.imgur.com/OzhSX.jpg" alt="enter image description here"></p>
  
  <p>Please can anyone help me?</p>