Google Maps API

Source: Internet
Author: User

Use Google Maps API V3 to create an interactive map, in two steps to illustrate, the first is the preparation of work, the second is how to invoke the interface for Google Maps display.

1. Preparatory work

If you want to call the Google Maps interface, you first need to have a free Google Maps API key. To have a free API Key, you first have to have a Google account. To apply for Google's account, you first have to be able to visit Google's website to sign up for Gmail. It's hard to get to Google's website on the mainland, and how to access Google's website is not the focus here, assuming you've been able to access Google's website and have a Google account. Next talk about how to apply for a free Google Maps API Key on Google.

First, visit https://code.google.com/apis/console/and log in with your Google account.

After the login successful, the following interface will appear:

Click the "Create Project" button.

Find the search Google Maps API v3 in the list of services and click on Google maps JavaScript API v3, as shown below:

Then click "Enable API" to open the server, as shown below:

When enabled, as shown.

Click " go to API console to view the report" and jump to the following page:

Click "Api Access" in the list on the left, find "Create new Server Key" below, click Open, enter the content, do not input also does not matter.

Wait a minute. Content that will appear:

Record the above API key, which is the key for future Google Maps API access.

2.Google Map API

Google Maps API

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.