地图 JavaScript API 错误消息 "for development purpose only"

Maps JavaScript API error message "for development purpose only"

当我尝试使用地图 JavaScript API 时,我收到此错误: "for development purpose only"

screenshot

您必须在

的 Google 云项目上启用计费

https://console.cloud.google.cjs?key=ZIzaSyBYpzfnPmdcSXHlV2Py8glHs4SQhoRE9qg&callback=createMap:55 om/project/_/billing/enable

https://developers.google.com/maps/gmp-get-started

了解更多

enter image description here

我能做什么?

Google 不再提供免费 API 访问。

您没有为导致此错误的项目启用结算功能。您必须在 Google 云项目上启用计费。

在关注 link 搜索:BillingNotEnabledMapError

错误简报https://developers.google.com/maps/documentation/javascript/error-messages

您的 Google API 项目需要执行以下步骤:

开始使用 Google 地图平台https://developers.google.com/maps/gmp-get-started