https://maps.googleapis.com/maps/api/geocode/json?address=1301%20lombard%20street%20philadelphia
{
error_message: "Keyless access to Google Maps Platform is deprecated. Please use an API key with all your API calls to avoid service interruption. For further details please refer to http://g.co/dev/maps-no-account",
results: [ ],
status: "OVER_QUERY_LIMIT",
}
答案 0 :(得分:1)
我也遇到了IOS中的错误,并且由于错误状态和错误消息令人困惑,因此进行了大量研究。
状态为
OVER_QUERY_LIMIT
但这不是我的实际问题,真正的问题在错误消息中描述
不建议使用无密钥访问Google Maps Platform。请在所有API调用中使用API密钥,以避免服务中断
该解决方案非常简单,您需要像这样在查询字符串中发送API KEY
https://maps.googleapis.com/maps/api/geocode/json?address=1301%20lombard%20street%20philadelphia&key='your-google-api-key'