Hi,
I am using google direction api in WP7 app, it returns a json format with 
steps to move from start to destination.

My API Call 
https://maps.googleapis.com/maps/api/directions/json?origin=24.874742,67.039934&destination=24.884685,67.056921&sensor=true
 

maps.google.com result :  my api call for 
location<http://maps.google.com/maps?saddr=24.874742,67.039934&daddr=24.884685,67.056921&hl=en&ll=24.881337,67.048659&spn=0.01314,0.022724&sll=24.874842,67.040132&sspn=0.01314,0.022724&geocode=FfaOewEdvvL-Aw%3BFc21ewEdGTX_Aw&vpsrc=0&mra=ls&t=m&z=16>
 

my app parse the json, pick the step's start_location and end_location and 
plot a straight line on the map

but google draws a line on the road from 4th step to 5th step.(check 
maps.google.com link)
how do i know plot a line on the road, as you can check there is no points 
given for that.

a think the *polyline* contain encrypted points for that, but i am not 
confirmed.....






-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/a86stbJagakJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to