简体   繁体   中英

How Google Maps Api Key can work in my html?

I created a site with google maps online (in javascript) .I took an api key from Google Maps, but it doesnt work, because every time i open the browser i receive an image with a message that it cann't load correctly the Google Mps. Do you know, should i have done something with HTTP referrer or with API libraries in Google Map Api's Settings?? 在此处输入图片说明

在此处输入图片说明

Google's new billing and pricing model requires you to add a credit card to use even the free API's. The documentation/tutorial page which shows code examples, will provide a key, however it will not work until you add your billing info.

If you are using the Javascript API for Static Maps, it is no longer free but you can use the $200 monthly credit being offered. It should allow you over 1+ million maps loads per month.

https://cloud.google.com/maps-platform/pricing/sheet/ https://developers.google.com/maps/documentation/javascript/tutorial

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM