Google Maps API Key (article)

Susana Moleón Moya
Susana Moleón Moya
  • Updated
Google have recently changed their terms of service & are now charging for all Mapping services whereas previously this was free.
Information on Google Maps pricing:
At the time of writing, you should be credited $200 per month for mapping services, any usage above this is chargeable.
As such we need to use a Google Maps API key under a paid for Google Account for all websites that use this service. 
To generate your own API key follow these steps:
1) Create a Google Cloud billing account (if you don’t already have one), and add your company credit card details to this:
2) Generate a Google Maps Javascript API Key. Follow this article:
3) Restrict your API key to your own domain. You should put your domain name, followed by an asterisk to limit the API key to your website only. You must whitelist both the www version and the non-www version of your domain E.g.**** 
4) Provide us with your API key, e.g. AIzaSyC49grgePHoKKXy5Dzj21ir9STIme_wpyg

Example output on tour page



If your maps are not loading, it may be because you have not added enough credit to your account / have not enabled billing / do not have a high enough quota limit.





Go to the Maps JavaScript API Quotas page in the Google Cloud Platform Console. From the projects list, select a project. In the Requests section, on the Requests per day line, click the edit icon, then enter the preferred total billable daily quota, up to the limit (if any) specified by Google.Jun 20, 2019