如何从坐标中获取有关位置或状态的信息

How to get back informations about location or state from coordinates

我正在开发 Web 应用程序,我应该能够仅使用 geo coordinates.Eg 检索特定地点的信息。我有一个已知的 latitude 和一个 longitude,但没有关于国家、州、城市的其他信息,etc.Is 可以检索关于 country,state,city 的信息一种采用 latitudelongitude 作为参数的 API 和 return 一些包含给定地点的 country,state,city 的原始 json

为此有很多 API。 Google 对于 "reverse geocoding"。

示例:

Google maps API