问题
Searching for directions from 35.443708,139.638026 to 35.689487,139.691706 yields results on Google Maps, however this query to the directions API does not:
https://maps.googleapis.com/maps/api/directions/json?sensor=true&departure_time=1350456190&destination=35.689487,139.691706&origin=35.443708,139.638026&mode=transit
Anyone have any ideas? It seems to be specific to Japan. You'll want to update the departure_time above to now if you're actually testing this.
I've filed this bug with Google, I'd rather find out it's something wrong with my query though: http://code.google.com/p/gmaps-api-issues/issues/detail?id=4498
Thanks for your help!
回答1:
Unfortunately, if you look at this spreadsheet, you can see that driving, (and transit), directions are not available for Japan through the API.
回答2:
Indeed : according to https://developers.google.com/maps/faq#transit_directions_countries it's not available ...
回答3:
Just an update, we investigated this recently and until now(Feb2015), it seems only driving and walking are available in japan using directions api
transit not available according to maps faq
biking not available according to maps coverage
I also tried using javascript Directions service. Travel modes TRANSIT and BIKING still does not work
来源:https://stackoverflow.com/questions/12909269/cant-get-transit-directions-in-japan