Google Maps API Key
Before you start this tutorial, you need to have a free Google Maps API key.
Start learning?
Before starting this tutorial, you need to apply for a specified API key on Google.
Through the following steps, we can get the API key for free.
Visit https://code.google.com/apis/console/ and log in with your Google account.
After logging in, the following interface will appear:
Click the "Create Project" button.
Find Google Maps API v3 in the service list, and then click "off" to enable the server
In the next step, select "I Agreement..." and click the "Accept" button. Now you should see that Google Maps API v3 has changed to "on" (on) in the service list.
Then click "API Access" in the menu on the left, and in the right column, you will see the following prompt "Create an OAuth 2.0 client id...".
Click "Create an OAuth 2.0 client id..." and a form will pop up. The form requires you to fill in your project name, project picture or logo, and then click the "Next" button.
Then, we need to select the application type ("Web application": Web application), then fill in your site address, and then click the "Create Client Id" button.
Finally, we can get the API key we need, as shown in the figure below:
Note: Save your API key! (You need to use this API key to develop all Google Maps applications in the specified URL you fill in).
The above is the detailed process for obtaining the Google Maps API Key. We will continue to add relevant information in the future. Thank you for your support for this site!