无法在日本取得大众运输路线 [英] Can't get transit directions in Japan

查看:47
本文介绍了无法在日本取得大众运输路线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索来自 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:

https://maps.googleapis.com/maps/api/directions/json?sensor=true&departure_time=1350456190&destination=35.689487,139.691706&origin=35.443708,139.638026&mode=过境

有人有什么想法吗?它似乎特定于日本.如果您正在实际进行测试,则需要将以上的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.

我已向Google提交了此错误,但是我宁愿查询出问题:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆