2

I have made a Google Version 3 Geocoder , I want to be able to pick up the coordinates of the route when it is dragged. I know how to pick up the coordinates giving the start and end points, but, after change the route, I don't know how to do!

2

I did this, and it works!

var directionsDisplay = new google.maps.DirectionsRenderer(rendererOptions);
...
google.maps.event.addListener(directionsDisplay, 'directions_changed',         
    function() {
                your code here
    }
);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.