Using the google maps API is there a way to programmatically find the nearest cross streets, given a particular street address?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Unfortunately the Google Maps API does not provide methods to find the nearest intersection from a particular street address or coordinate. You may want to check the following posts for further reading:
- Stack Overflow: How can I find the nearest intersection via the Google Maps API?
- Google Groups: Find nearest intersection
- Google Groups: Find nearest intersection to a given address
- Google Groups: Another approach to find nearest intersection to the address
回答2:
maybe this methods could be of interest:
GStreetviewClient.getNearestPanorama(a,b,c)
GStreetviewClient.getNearestPanoramaLatLng(a,b,c)