hello,
i am developing a google maps application that allows the user to
first search any place of interest..
then i find out the place nearest to the user's location..

i am successful in obtaining the latitude and longitude coordinates of
location nearest to the user.. however,
i also want to provide with the driving directions...
i want to pass the lat-lng pair obtained in the direction request..
the api says that it is allowed to pass the latitude and longitude in
the request url.. but no example has been provided for the same.. i've
tried everything.. but nothing seems to work.. please help.
the rl which i am using as my request is as follows:
URL url = new URL("http://maps.google.com/maps/api/directions/xml?
origin=22.725313"+"75.865555"+"&destination"+lat+lng+"sensor=true");

lat and lng are the latitude and longitude of the location of interest
of the user.

please help.. it is urgent.. it is the last part of my project and i
need to finish my project asap

thanks
anushree

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to