On a normal google map, I can get and display the geographical coordinates of my mousepoint using the following code:
google.maps.event.addListener(map, "mousemove", function(event) {
document.getElementById('message').innerHTML =
'Geographical Coordinates: ' + event.latLng.lat() + ', ' + event.latLng.lng();
});
If I calculate a route using the google directions api and move the mouse over the displayed route, the "mousemove" event is not fired. How can I get the coordinates when the mousepointer is on the route?
I have a running example on jsfiddle. When you follow the route with your mouse, the coordinates don't update.