How to Generate Google Map API Key
How to Generate Google Map API Key
First, you need to create a project in Google Console
https://console.cloud.google.com/welcome
Fill project name and click the Create button.

Then select your project and click the navigation menu on the left top.
Click APIs & Services > Enabled APIs & Services

Click the Enable APIs and Services button.
In this 2 API Services will be enabled
- Maps JavaScript API
- Directions API

-
Click Maps JavaScript API
Click the Enable button.
-
Directions API
Click the Enable button.
Select Credential

• Click on Create Credential > API Key


Once the API Key is Created Click on the API Key name

After Set an application restriction > Select Websites

Website name:
After Go TO API Restrictions > Restrict Key
Select Two API
- Maps JavaScript API
- Directions API

Then Save