当我尝试使用Maps JavaScript API时,我会收到以下错误:"仅用于开发目的">
屏幕截图
您必须在的谷歌云项目上启用计费
https://console.cloud.google.cjs?key=ZIzaSyBYpzfnPmdcSXHlV2Py8glHs4SQhoRE9qg&callback=createMap:55 om/project/_/billing/enable
了解更多信息,请访问https://developers.google.com/maps/gmp-get-started
在此处输入图像描述
我能做什么?
Google不再提供免费的API访问。
您尚未对导致此错误的项目启用计费。您必须在谷歌云项目上启用计费。
在以下链接上搜索:BillingNotEnabledMapError
错误简报:https://developers.google.com/maps/documentation/javascript/error-messages
你需要遵循以下步骤为你的谷歌API项目:
谷歌地图平台入门:https://developers.google.com/maps/gmp-get-started