Skip to content

Commit

Permalink
docs(directions): add note about via in waypoints param
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Feb 12, 2020
1 parent 3371e10 commit 6682591
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion googlemaps/directions.py
Expand Up @@ -41,7 +41,9 @@ def directions(client, origin, destination,
:type mode: string
:param waypoints: Specifies an array of waypoints. Waypoints alter a
route by routing it through the specified location(s).
route by routing it through the specified location(s). To influence
route without adding stop prefix the waypoint with `via`, similar to
`waypoints = ["via:San Francisco", "via:Mountain View"]`.
:type waypoints: a single location, or a list of locations, where a
location is a string, dict, list, or tuple
Expand Down

0 comments on commit 6682591

Please sign in to comment.