我正在开发一个 php 项目,我想在其中从指定位置查找 100 KM 范围内的 3 个城市并将其存储到我的数据库中。我正在考虑为此进行 Google API 地理编码。我不知道我是否能够使用它。但是我在 Geocoding API 的条款和条件页面中找到了一行
the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited.
这是什么意思?我可以使用 API 获取城市吗?有人知道吗?
最佳答案
在我看来,这是非常明确的:
是的,如果您要在 Google map 上显示最近的城市,您可以使用 Geocoding API。
不可以,如果您不在 Google map 上显示最近的城市,则不能使用 Geocoding API。
如果您将结果存储并在以后使用,则没有区别。
顺便说一句。请注意,雅虎具有相同的使用政策。
关于php - 我可以使用 Google API 查找最近的城市吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10172084/