本文介绍了Google地图:检索附近的地铁站及其地铁线路信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到,您可以使用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:

Google地图:是否检索附近地铁站的纬度和经度?

但是除了这些数据之外,我还想检索该站上可用的地铁线.这可能吗?

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地图:检索附近的地铁站及其地铁线路信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 19:04