2017-10-07 35 views

回答

3

并非所有Google地图应用都可以在Google Maps JavaScript API/Web服务中使用。所以不要指望能够复制Google地图应用功能。

通过使用Places Nearby Search可以轻松获取transit_stations。 请参阅文档:https://developers.google.com/maps/documentation/javascript/places#place_search_requests

但是,您只能在路线查询的上下文中获取中转站的出发时间。 https://developers.google.com/maps/documentation/javascript/directions#TransitInformation

相关问题