This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
Callback function is never called when loading via uiGmapGoogleMapApi provider #1861
Open
Description
The promise returned by loader’s load() method never gets resolved. Thus, uiGmapGoogleMapApi.then(function() { })
never gets called. I checked it and it creates function with randomized name in window, and it also passes it as a callback to API script (such as https://maps.googleapis.com/maps/api/js?v=3&libraries=places,maps&language=en&key=MY_KEY&callback=onGoogleMapsReady197
). But onGoogleMapsReady197
never gets called, with no errors in console. If I trigger it manually in console as onGoogleMapsReady197()
, it, of course, works.
Library version is 2.3.3
.