Skip to content

Commit 04032f0

Browse files
authored
Update Directions and Distance Matrix API to indicate that transit directions are available within a more limited time window (googlemaps#463)
Update Directions and Distance Matrix API to indicate that transit directions are available within a more limited time window as explained in https://issuetracker.google.com/284178782 googlemaps#462
1 parent 2e52e97 commit 04032f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specification/parameters/mode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: |
1919
* `driving` (default) indicates standard driving directions or distance using the road network.
2020
* `walking` requests walking directions or distance via pedestrian paths & sidewalks (where available).
2121
* `bicycling` requests bicycling directions or distance via bicycle paths & preferred streets (where available).
22-
* `transit` requests directions or distance via public transit routes (where available). If you set the mode to transit, you can optionally specify either a `departure_time` or an `arrival_time`. If neither time is specified, the `departure_time` defaults to now (that is, the departure time defaults to the current time). You can also optionally include a `transit_mode` and/or a `transit_routing_preference`.
22+
* `transit` requests directions or distance via public transit routes (where available). Transit trips are available for up to 7 days in the past or 100 days in the future. If you set the mode to transit, you can optionally specify either a `departure_time` or an `arrival_time`. If neither time is specified, the `departure_time` defaults to now (that is, the departure time defaults to the current time). You can also optionally include a `transit_mode` and/or a `transit_routing_preference`.
2323
2424
<div class="note">Note: Both walking and bicycling directions may sometimes not include clear pedestrian or bicycling paths, so these directions will return warnings in the returned result which you must display to the user.</div>
2525
in: query
@@ -29,4 +29,4 @@ schema:
2929
- driving
3030
- bicycling
3131
- transit
32-
- walking
32+
- walking

0 commit comments

Comments
 (0)