Finding address by distance value, in Google Maps

2019-07-20 08:50发布

I want to find a specific address that, is neither user-configurable nor static or known in advance. In other words I want my application to be able to calculate what address is placed in a distance away from a known location.

Is there a way to define the address or lat/lng, of a place which is placed in a specific distance away from a known location(specific address or lat/,lmg point in map already known). I mean by using the Google Maps Api, can i define what's the address of a place that is 5 meters away from a known location?

To make it more clear, would it be possible to get the address that is in the middle of the distance(known) of two known addresses, especially by using walking(mode) roads for example?

Thnx in advance

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-07-20 09:08

The Map API and its associated database is not designed for your requirements. You would require to create your own database or find a vendor of one in the country you require. For example the UK Post Office supply PAF OR for US

查看更多
萌系小妹纸
3楼-- · 2019-07-20 09:15

I doubt there is any way to achieve what you are trying. All the locations and addresses that Google Maps provides on the map are the ones that are stored in there servers. If the data about a location is present, you always have a way to find them. So you cannot expect to find a location on the map that doesn't have a value stored in their database. While the database and servers concept of the Google Maps is a way complex, you should understand that something not present in the system cannot be provided or shown. In-short it is not possible.

查看更多
登录 后发表回答