Guide to creating Google Maps API for your custom domain

Wordpress 2 min read
Guide to creating Google Maps API for your custom domain
According to Google's new policy, we need an API to use Google Maps. Here's a guide to creating a Google API for Google Maps on your custom domain.

Guide to creating Google Maps API for your custom domain

  1. Go to https://console.developers.google.com/apis/library
  2. Click Select a project to create a new project. One project can contain multiple APIs. One API can be used for multiple websites, depending on your settings. Follow the steps shown in the image
  3. Fill in all the information and click Create
  4. Sau khi CreateThen select the project you just created and follow the steps shown in the image
  5. Here you have the API you need. Copy it to use. ClickRestrict Keyto continue setup
  6. Here, give the API a name so you know later which website or application it's for. Select Http referrers (web sites) as shown and enter your domain in the format *.your-domain.com/* and http://your-domain.com/* => then clickSaveto save the information
  7. This step is quite important. This step enables which libraries the API is allowed to use. We will enable the following libraries
    1. Google Maps JavaScript API
    2.  Google Maps Directions API
    3. Google Maps Embed API
    4. Google Maps Geocoding API
    5. Google Places API Web Service
  8. Sau khi Enable xong sang tab Dashboardwill appear as shown
That's it. Good luck!
READY TO GET STARTED?

Build a more efficient digital business.

Let our experts recommend the best-fit solution for your business.

Talk to an expert Free and fast consultation
Call for advice