Google Maps not displaying

The Maps API Key has been inputted, and the map displays when being created/editted, but not visible on the frontend.

The console displays the error

Uncaught ReferenceError: google is not defined

The script is being loaded as follows:

<script data-service="google-maps" data-category="marketing" type="text/plain" src='https://maps.google.com/maps/api/js?key=API_KEY' id='google-maps-js'></script>

Should the

type="text/plain"

be as is?


Thank you.

Comments

Sign In or Register to comment.