There was changes made to Google Maps API a few years ago that broke it - particularly that you must have your own API key and connection must be over HTTPS.
I have a fix for it, full details are posted here:
I also posted the exact script I use now in response to someone else having issues:
Use the config task to do initial setup them modify the script as in those topics.