Home Forums Basel support forum Missing Key Map Error in Google Maps Element Reply To: Missing Key Map Error in Google Maps Element

#2157

Lucas
Participant

Hi there,

I have exactly the same problem and also with version 1.8 of the theme.

I configure the API KEY i get in the page the VC element indicates me. I put the API KEY both (in VC element and theme panel).

js?sensor=false&libraries=geometry&v=3&key=AIzaSyAszq6OZiXr3ZeoZCsbIB4czn2li7CWO94&ver=4.5.3:32 Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error

Reading Google indications about how to use the maps i found that they indicate the correct way to load maps javascript is:
<script src=”https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&#8221;
type=”text/javascript”></script>

But you are loading in a different ways:
<script type=’text/javascript’ src=’https://maps.google.com/maps/api/js?sensor=false&libraries=geometry&v=3&key=MY_API_KEY&ver=4.5.3′></script&gt;