Skip to content
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
@besuhoff

Description

@besuhoff

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions