Google Maps require the usage of an API key, in order to work properly. This requirement was announced by Google, in June 2016. To Create Location in Google Map Plugin You need to create ‘Google Map API key’.
Create Google API Keys
Follow these steps to get an API key:
Step 1 Go to the Google Developers Console. The first screen you will see in the Google API Console allows you to choose between creating a new project or using an existing one. Click ‘Continue’ after you made a selection.
Note : Your all needed API’s are automatically enabled via this URL http://bit.ly/29Rlmfc you dont need to enable all of them individually.
- Google Maps Directions API
- Google Maps Distance Matrix API
- Google Maps Elevation API
- Google Maps Geocoding API
- Google Places API Web Service
Step 2 On next page, enter your project name and HTTP referrer. If you leave the referrer field empty, then it’s possible for other users to use your key on their domains. More information see the guide Google Map Api Key
Step 3 Copy your generated API key.
You can also see the enabled API’s at the dashboard menu.
Step 4 Then Go to WP Google Map > Setting page and paste your google maps API Key and save.
Now you have to attach the billing account to the project where you have created an API key.
Billing Account Attachment Method
You can use the Google Cloud Platform Console to manage your Google Cloud Platform billing account. From the console, you can update account settings such as payment methods
Some Google APIs charge for usage after crossing the limit, and you need to enable billing before you can start using these APIs. If you enable billing for a project, then every billable API in that project is billed, based on the project’s usage.
Note: Google Maps API provides you 200$ credits every month free of cost. If you are using more than 200$ per month then you have to pay as per the use.
Now need to attach billing account to the New /Existing Project :
Step 1 . API is already created that mean you are already logged in to the account. If you are signout then go to the Google Cloud Platform console and sign in and select the project where you want to attach the billing account .
Step 2 Open the console left side menu and select Billing
You can Try Google Cloud Platform for a free trial to accept the terms of services
Step 3 Click the New billing account button.(note first you need to open the billing account list by clicking the name of your existing billing account near the top of the page, and then click Manage billing account).
Step 4 Enter the name of the billing account and enter your billing information. The option you see depend on your billing address.
Step 5 Click Submit and Enable billing.
Congratulations!! Now You can create a location in Google Map.