Google Maps API Updates: What You Need to Know Now

Just a year ago, in the summer of 2018, Google decided to revamp their usage billing for almost all of their APIs. While they were nice enough to grant a generous grace period, that time has now passed. Now, you’ll need to get with their program, and Ironistic is here to help you do just that.

Step-by-step: How to Generate a New Google Maps API Key

  1. Go to https://cloud.google.com/maps-platform.
  2. Click the “Get Started” button in the hero image or header.
  3. You should see a modal window with a few options. Check the boxes for “Maps” and “Places” then click “Continue”.
  4. In the dropdown labeled “Select or Create Project”, select “Create New Project”.
  5. Give your new project a memorable title.
  6. Check “Yes” to agree to their terms of service then click the “Next” button.
  7. You will now be prompted to enable billing in order for it to work. Click the “Enable Billing” button.
  8. Fill out all of your pertinent business and credit card information then click continue. This will automatically create an API key for you.
  9. Go to the following URL: https://console.cloud.google.com/apis/credentials.
  10. This URL should show you a list of your active API keys. Click on the one titled “API Key” (there should be just one).
  11. Scroll to the section “Key Restrictions”. (You need to restrict the API key to certain domains so other folks can’t use it without your permission.)
  12. In “Application Restrictions,” choose “HTTP Referrers (web sites)”.
  13. You will see an input field below. You may enter one URL address per line.
  14. Enter every URL that you would like the API keys to work on. You can either hit enter to go to the next line, or you can click outside of the field and another line will show up.
  15. Be sure to enter the live site, any staging site URLs you have, and any local development URLs that you use.
  16. Click “Save” at the bottom.
  17. Final step:  Copy the API key into the code where it is used.

Note: The API restriction section is important to prevent any fees, but with the free $200 monthly credit the majority have unlimited map loads. See here for more information on specific map types and billing https://cloud.google.com/maps-platform/pricing/sheet/.

Questions? Just drop Ironistic a line, and we’ll be happy to provide answers to all your burning Google Map API questions.

Related Posts


There are currenty no responses.

Leave a Reply

Your email address will not be published. Required fields are marked *

Request A Quote
Let's take your business to the next level. Fill out the form below to get started!
  • This field is for validation purposes and should be left unchanged.