Google Maps API Key
Before starting this tutorial, you need to have a free Google Maps API key.
Getting Started?
Before starting this tutorial, you need to apply for a specific API key on Google.
Follow these steps to obtain an API key for free:
Visit https://code.google.com/apis/console/ and log in with your Google account.
After logging in, you will see the following interface:
Click the "Create Project" button.
Find Google Maps API v3 in the service list, then click "off" to enable it.
In the next step, select "I Agree..." and click the "Accept" button. Now you should see Google Maps API v3 in the service list as "on".
Next, click "API Access" in the left menu, and you will see the following prompt in the right column: "Create an OAuth 2.0 client id...".
Click "Create an OAuth 2.0 client id...", which will open a form. Fill in your project name, project image or logo, and then click the "Next" button.
Then, select the application type ("Web application": website application), fill in your site address, and click the "Create Client Id" button.
Finally, you will obtain the API key, as shown below:
Note: Save your API key! (You need to use this API key for all Google Maps applications developed at the specified URL).