Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
up vote 2 down vote accepted

I did this, and it works!

var directionsDisplay = new google.maps.DirectionsRenderer(rendererOptions);
google.maps.event.addListener(directionsDisplay, 'directions_changed',         
    function() {
                your code here
share|improve this answer
Please accept your own answer - this is how GIS-Se works. Thanks – Mapperz Feb 21 '13 at 14:38
I only can accept my own answer in 2 days! :( – Luciano Borges Feb 21 '13 at 17:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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