title: How to get dragged point on the DirectionsRenderer
body: <p>I use google maps for drawing my route. I setup only 2 points (start and end). The problem is that I will have to send the route to the next page.</p>
  
  <p>I know that I can catch event:</p>
  
  <pre><code>        google.maps.event.addListener(directionsDisplay, 'directions_changed', function() {
              $("#full-route-json").val(encode64(JSON.stringify(directionsDisplay.directions.routes[0])));
          });
  </code></pre>
  
  <p>But it will return all steps. 
  How to get the data only for my start and end points and dragged point like this:
  <img src="https://i.stack.imgur.com/t7gbV.png" alt="enter image description here"></p>