Getting an intersection with Google Places/Geocoding API

后端 未结 7 1405
野性不改
野性不改 2020-12-29 10:58

I\'m trying to find the two closest streets to a point with the Google Places API (basically to indicate the closest intersection). However, any result will only ever return

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 11:53

    Google Maps API doesn't support this. It is an address geocoder only. The best you can do with Google Maps API is user their directions service to find where the first turn is, but that's a total hack. You might want to try looking into other maps services that can offer this ability.

提交回复
热议问题