T
T
The Anonymous2016-10-11 12:38:28
JavaScript
The Anonymous, 2016-10-11 12:38:28

Google map not showing on landing page?

Hello! I don’t understand what the error is, everything is displayed normally on Denver, I upload it to the hosting, it gives an error, what could be the problem?
The link to the problem is below, the map is in the footer
demo.art-fregat.ru
I followed the link offered in the console, it says (The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on the Google API Console
Did I put this code in the header correctly?

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAMDL7‌​uw2fjPsgidSHMAWF4JJU‌​sgMupyso&callback=in‌​itMap"></script>

The key was created in the personal account of the google account

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2016-10-11
@taec

The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on the Google API Console

The URL has not been added to the allowed list. Pliz check your key settings in Google console.
Have you checked? Have you added the website domain to the allowed list? Is something still not clear? Everything seems to be well written...

D
D', 2016-10-11
@Denormalization

It seems to be written in plain text:
The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on the Google API Console
Banned in Google Translate?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question