This continues to be an issue for me. I’ve added the line “$api[‘callback’] = ‘Function.prototype’;” to my function.
For some reason though, the callback is not getting appended to the script reference when it’s published to the site, just the API key like so:
<script async src=”https://maps.googleapis.com/maps/api/js?key=API_KEY”></script>
That’s the part that is a mystery. It sounds like it’s working for some of you but not all of us.
<sigh>