Google Directions API - Multiple Legs -


i wondering if knows how multiple legs?

i.e if try , directions google directions 2 different addresses gives me 1 leg when exact same request on google maps gives me 4 routes. ideas how can 4 routes?

my request: https://maps.googleapis.com/maps/api/directions/json?origin=48%20yonge%20street,%20toronto,%20ontario&destination=184%20longhouse%20street,%20woodbridge,%20ontario&key=x&departure_time=1343641500&mode=transit

you want route alternatives, not legs.

use alternatives=true parameter in request


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -