Closed apranav19 closed 9 years ago
The 1st optional parameter that the Directions API states is mode. The acceptable modes of transportation include:
Therefore, a developer can set the mode of the DirectionsRequest object as follows:
DirectionsRequest
requester = DirectionsRequest(origin="123 Fake St, Springfield, MA", destination="456 Fake St, Springfield, MA").set_mode("walking")
Issue addressed in latest merge.
The 1st optional parameter that the Directions API states is mode. The acceptable modes of transportation include:
Therefore, a developer can set the mode of the
DirectionsRequest
object as follows: