Google Maps API Key Integration & support.
I’ve installed the plugin, uploaded a couple of gpx files, pasted the short code but the maps load and disappear again with a java error – after investigating the error, it turns out all newly created G-Maps (since 22-06-16) needs an API key. Got the API key but where do I integrate the API key? I’m not a programmer so I would not know where to start looking. The Google documentation suggests: “Locate the file that contains the Google Maps script code on your website, and append your API key to it as a parameter:
1 <script async defer src=”//maps.googleapis.com/maps/api/js?key=YOUR GOOGLE API KEY” type=”text/javascript”></script>
If there aren’t other parameters, just add ?key=YOUR_API_KEY at the very end of the src path; otherwise, add &key=YOUR_API_KEY instead, like this:
1
<script async defer src=”//maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=YOUR_API_KEY” type=”text/javascript”></script>
Obviously, in both cases you must replace YOUR_API_KEY with your actual API key code.
Where do I find this “file that contains the Google Maps script code”?
Alternatively, what are the steps to integrate the API key?
Thanks.