You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm observing an error in my console with my WP install, that seems to come only when GeoMashup is active on a page:
Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters
From the little I understand, what may be required is:
add a callback parameter when loading the Google Maps API
(optional) update the API URL from //maps.google.com/maps/api/js to //maps.googleapis.com/maps/api/js
I'm not sure if it comes from GeoMashup: I also see that the API call is made passing a $ver= parameter, with the WP version, that is not specified in the official documentation.
The text was updated successfully, but these errors were encountered:
jbd7
changed the title
Calls to Google Maps API throws an error
Calls to Google Maps API throw an error
Feb 11, 2023
WordPress script enqueuing doesn't support async loading, but it might be accomplished with another filter. The initialization callback will also have to be implemented and enqueued synchronously.
Hi there,
I'm observing an error in my console with my WP install, that seems to come only when GeoMashup is active on a page:
From the little I understand, what may be required is:
callback
parameter when loading the Google Maps API//maps.google.com/maps/api/js
to//maps.googleapis.com/maps/api/js
Documentation: https://developers.google.com/maps/documentation/javascript/url-params
I'm not sure if it comes from GeoMashup: I also see that the API call is made passing a
$ver=
parameter, with the WP version, that is not specified in the official documentation.The text was updated successfully, but these errors were encountered: