hii ..
i have latitude and longitude of source and destination..now how to find direction among them..
i already tried with following function ,which shows the direction by address ...
function calcRoute() {
var start = document.getElementById('startvalue').value;
var end = document.getElementById('endvalue').value;
var request = {
origin: start,
destination: end,
travelMode: google.maps.DirectionsTravelMode.DRIVING
};
directionsService.route(request, function (response, status) {
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setDirections(response);
}
});
}
but i want to find direction by latitude and longitude of that source and destination..please suggest me some modification in this function...
thank u...