用于搜索某个国家/地区街道的地图 API

Map APIs to search for a street in a country

我正在寻找一个开放地图 API,我可以用它来搜索某个国家/地区的街道名称,并返回一系列可能的位置。例如:我的输入是:英格兰埃格蒙特街,它 returns 一个列表,我可以在其中找到英格兰的埃格蒙特街。

可能吗?

谢谢!

看看Google Maps Web Services

Example usage:

// Replace the API key below with a valid API key.
GeoApiContext context = new GeoApiContext().setApiKey("YOUR_API_KEY");
GeocodingResult[] results =  GeocodingApi.geocode(context,
    "1600 Amphitheatre Parkway Mountain View, CA 94043").await();
System.out.println(results[0].formattedAddress);