- Issue created by @yannickoo
- Status changed to Needs review
over 1 year ago 1:55pm 2 August 2023 The short answer is to specify a callback value. Set the name of the JavaScript function that you would like to trigger once the external API library has finished loading.
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=FUNCTION_NAME
If you don't actually have a callback function to run immediately after the library loads, you can use Function.prototype as a noop stand-in.
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=Function.prototype
-
a.dmitriiev →
committed 191ba0d4 on 8.x-2.x authored by
yannickoo →
Issue #3378757 by yannickoo: Missing callback when calling Google Maps...
-
a.dmitriiev →
committed 191ba0d4 on 8.x-2.x authored by
yannickoo →
- Status changed to Fixed
over 1 year ago 2:16pm 7 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.