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

时间:2012-11-20 11:47:52

标签: google-maps-api-3 google-places-api

通过以下示例,

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

我可以在附近找到一个商店列表到pyrmont,但我也希望得到商店与pyrmont的距离信息以及汽车和旅行的大致旅行时间。步行。 我怎么能得到这些信息?

1 个答案:

答案 0 :(得分:5)

您可能希望使用Distance Matrix和/或Directions Service

相关问题