Google Maps API problem – initMap()
This part of the Google Maps script URL is the culprit: &callback=initMap It means that when the script is loaded it will attempt to run the initMap() function, but you’re enqueueing your script that contains the function in the footer, after the Google Maps <script> tag, which you’re outputting in the middle of the page. … Read more