是否可以在 Google Maps API 中检索特定区域内的所有地址列表?
假设我想检索罗马所有地址的列表。
如何在 Google Maps API 或任何其他网络服务中以编程方式实现此目的?我不需要地址的实际位置,只需要地址名称的列表。
Say I want to retrieve a list of all addresses of Rome.
How do I achieve this programmatically in Google Maps API, or any other web service? I don't want the actual location of the addresses, just a list of the names of the addresses.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法使用 Google Maps API 来做到这一点。
您可以进行反向地理编码(无论是在服务器端还是在客户端),但通过反向地理编码,您传递一个坐标,并且仅返回该点的地址。 Google 地图 API 不会返回特定区域的所有地址。
You cannot do that with the Google Maps API.
You can do reverse geocoding (both on the server-side or on the client-side), but with reverse geocoding you pass one coordinate and you are returned the address of that point only. The Google Maps API does not return all the addresses of a particular area.