One question for google api route


I wanted to know if it is possible to make a request to the google just getting 
the timing and duration of the full path without receiving each of the 
intermediate steps


thanks


http://maps.googleapis.com/maps/api/directions/json?origin=Toronto&destination=Montreal&sensor=false


 "routes" : [
      {
         "bounds" : {
            "northeast" : {
               "lat" : 45.51014580,
               "lng" : -73.55252489999999
            },
            "southwest" : {
               "lat" : 43.65331030,
               "lng" : -79.38373319999999
            }
         },
         "copyrights" : "Datos de mapa ©2013 Google",
         "legs" : [
            {
               "distance" : {
                  "text" : "542 km",
                  "value" : 542385
               },
               "duration" : {
                  "text" : "5h 14 min",
                  "value" : 18834
               },
               "end_address" : "Montreal, Quebec, Canadá",
               "end_location" : {
                  "lat" : 45.50857120,
                  "lng" : -73.55376740
               },
               "start_address" : "Toronto, Ontario, Canadá",
               "start_location" : {
                  "lat" : 43.65331030,
                  "lng" : -79.38276750
               },

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to