I have an application that makes a GET call to https://maps.googleapis.com/maps/api/js?key=&libraries=places when it tries to load the Google Maps API. I believe this is synchronously loading which is documented in the Google Maps documentation.
However, I have been seeing the following error popping up in my automated testing environment in the last 24 hours:
Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters
I wonder if anyone knows what's going on?
Making a GET request to https://maps.googleapis.com/maps/api/js?key=&libraries=places URL should still allow synchronously loading.
callback=initMapto the script url which is as they suggest - when theinitMapis within a script declared asmoduleon the page then this does not work