无法在日本取得大众运输路线 [英] Can't get transit directions in Japan
问题描述
搜索来自 35.443708,139.638026 的路线到 35.689487,139.691706 在
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:
有人有什么想法吗?它似乎特定于日本.如果您正在实际进行测试,则需要将以上的exiting_time更新为现在.
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
感谢您的帮助!
推荐答案
不幸的是,如果您查看 此电子表格 ,您会看到该API无法在日本提供行车路线(和公交路线).
Unfortunately, if you look at this spreadsheet, you can see that driving, (and transit), directions are not available for Japan through the API.
这篇关于无法在日本取得大众运输路线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!