You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Directions API does not return results for some origin/destination pairs, e.g. Beijing–Shanghai or Kyoto–Tokyo. For example, the query https://maps.googleapis.com/maps/api/directions/json?origin=Tokyo&destination=Kyoto&mode=transit&language=en&key=[API_KEY]&departure_time=1590483732 returns this:
Note: this is partially fixed in 79345f5 for cases when there are some valid results and some empty ones (e.g. London–Barnstaple). However, the examples given above still return empty.
The Directions API does not return results for some origin/destination pairs, e.g. Beijing–Shanghai or Kyoto–Tokyo. For example, the query
https://maps.googleapis.com/maps/api/directions/json?origin=Tokyo&destination=Kyoto&mode=transit&language=en&key=[API_KEY]&departure_time=1590483732
returns this:However, the Google Maps web interface does give results.
I have not been able to figure out the reason for this.
The text was updated successfully, but these errors were encountered: