How to activate the Google Maps JavaScript API v3 service?

The tutorial does not say how to activate the Javascript API v3 service. He just talks about it. The context of the Google Developers Console does not match the screen that they show in the written (possibly outdated) manual.

For me there is no category "Service". I have the category "Terms of Service", which, when selected, allows me to read the terms for this particular API, but there is no action in this window. I have an API key and I entered the code on my web page and put my API key in it.

When loading a web page, the following error message appears: "This page could not display the Google Maps element. The provided Google API key is invalid or this site is not authorized to use it. Error code: InvalidKeyOrUnauthorizedURLMapError" and I think it may be because I could not "activate" the API v3 for this project.

I tried the following:

  • Regeneration of the key and its immediate use, so I know that this does not mean that the key is older than 24 hours.
  • Double check my referrals
  • Enter the exact name of the site where I am trying to do this job.
+8
google-maps-api-3
source share
2 answers

You need to activate the API from the developer console

reach the maps api v3 on google cloud console

press 4 ^ and then click the blue Enable API button

enter image description here

+23
source share

I wasted my time just out of confusion, so I am responding here with updated screenshots to help in the best possible way. enter image description here

enter image description here

enter image description here

+11
source share

All Articles