我在URL下面测试我的密钥
https://maps.googleapis.com/maps/api/geocode/json?latlng=20.0041,73.7175&key=$key
它在一次击中后显示此错误
{
error_message: "You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account",
results:[],
status: "OVER_QUERY_LIMIT"
}
请帮我解释为什么会发生这种情况,与启用计费有什么关系?
正如comments中提到的那样,即使您只使用免费配额,也需要启用结算功能。有关更多信息,请参阅docs about this change。