Google Places API - 查找最近的地方,它的距离和旅行时间

use*_*157 3 google-maps-api-3 google-places-api

通过以下示例,

https://google-developers.appspot.com/maps/documentation/javascript/examples/place-search

我可以获得附近的商店列表到pyrmont,但我也想知道商店距离pyrmont的距离以及汽车和步行的大致旅行时间.我怎么能得到这些信息?

dun*_*can 5

您可能希望使用距离矩阵和/或路线服务