问题描述
我已经看到,您可以使用Google Maps Places API检索附近某个位置的地铁站,如下所述:
I've seen that you can retrieve nearby subway stations for a location using the Google Maps Places API, as explained here:
但是除了这些数据之外,我还想检索该站上可用的地铁线.这可能吗?
But in addition to that data, I would also like to retrieve the subway lines available at that station. Is this possible?
推荐答案
当前,Places API并未针对公交站点公开此信息.Google问题跟踪器中有一项功能请求,可以检索每个停靠点的行号.您可以在以下位置找到此功能请求:
Currently the Places API doesn't expose this information for transit stations. There is a feature request in Google issue tracker to make it possible to retrieve lines numbers for each stop. You can find this feature request at
https://issuetracker.google.com/issues/35827961
请随时为这个功能请求加注星标,以表达您的兴趣并订阅来自Google的进一步通知.
Please feel free to star this feature request to express your interest and subscribe to further notifications from Google.
这篇关于Google地图:检索附近的地铁站及其地铁线路信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!