0

我正在寻找可以帮助我找到具有给定纬度和经度的城市/国家的 Java API?

4

1 回答 1

2

This API endpoint below should do this for you.

https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding

you can specify the format either as XML or JSON, then parse with either a JSON parser (GSON, Jackson etc) or an XML parser (SAX, DOM...)

于 2012-11-28T12:14:12.550 回答