Skip to main content

Fix the Error: This page can’t load Google maps correctly.

Share

If your website is using Google Maps and was built before July 2018, you may be seeing an error on top of your map that say “This page can’t load Google Maps correctly.” It will also have a watermark on the map that says “For development purposes only.”

I’m going to explain how to fix the error and how to avoid the error if you are building a new website.

In July 2018 Google’s policy changed, requiring a billing account be set up in order to use Google Maps.

https://developers.google.com/maps/documentation/javascript/usage-and-billing

So does this mean Google Maps is not free?

Pretty much, using Google Maps on your site is free.

This is how it works.  Each month Google gives you a $200 credit towards using the map services. This allots you 500,000 map views ( i.e. web page views that has the map on it). For most small business websites you are never going to get anywhere near 500,000 views in a month. (Remember, the number of views and the $200 credit renews each month).

Google tracks how much your website is using the map by connecting it to a unique identifier called an API key. It looks something like this:

A42zaSyA8xEY5vQOkmtzUbSCmlyUABWXnCg0EmTf

It’s important when you create your API key that you associate it with your domain only. It’s easy for anyone looking to be able to see your API key. If you don’t connect it to your domain only, it can be stolen and used on another website. (Potentially then hitting the monthly limit and charge YOU.)

How do I get a Google Map API key?

Google’s documentation is pretty strait forward to walk you through how to set up billing first and then generate an API key.

Click on the images below to access the documentation.

Get started with google maps

 

 

 

How to Get Google Maps API Key

 

Can set up the API key for me?

When I am building your website, or you hire me fix website errors like this, I ask you to set up a Google Map API key and send it to me. Still, I have people ask me if I will just do it for them. Sorry, no. This key is connected to your Google Account and billing information. Even though you may never hit the limits, you never know when Google will change their policy again. I do not want any billable service tied directly to my accounts. This should be an expense tied to your business.


Share

Comments are closed.