Google Map API key cutted out
-
Hello!
The JS minify is cut out google API key from link that connect google map to the page.
My link was:
<script type=’text/javascript’ src=’https://maps.google.com/maps/api/js?sensor=true&key=AIzaSyBoQ1waGu5KCQvqG1Wty1-ZlTzUO_pFSx4′></script>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
After JS minify the API key is cuted and google maps doesnt dispays, because the google required API key to display the map now (aboiut few months).
Errors in browser console:
“Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error” b5fab.js:23:7798
“Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys“util.js:211:33Demo site example http://secretlab.name/ You can check code and console
Best regards
- The topic ‘Google Map API key cutted out’ is closed to new replies.