How to create Google API key in order to make the google map element work.
Do I need to pay anything to use a new API key?
Not initially! After creating a billing account in the Google Maps Platform, you will gain access to your $200 of free monthly usage. After that, the charges will be applied as per the standard rates decided by the Google Maps Platform.
Following are the steps that will help you get an API key to use Google Maps
Step 1 – Follow this link in order to generate your API key. Click GET STARTED button.
Select Maps from the list and click to CONTINUE.
Step 2 – Create a new project or select one from the existing ones. Click Next.
Step 3 – To CREATE BILLING ACCOUNT, select the country. Click Confirm.
Step 4 – Add Customer info.
Step 5 – Choose the Payment method and add payment details. Click Submit and enable billing.
Step 6 – Select website from the Account Overview page.
Step 8 – Enable maps for your website.
Step 9 – Choose APIs credentials.
Step 10 – Select API Key option.
Step 11 – Copy the generated API key.
Step 12 – Select HTTP referrers for your site.
Step 13 – You can see map usage on your account overview page.
See the whole article here.