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
// Extra await here works around https://github.com/googlemaps/js-api-loader/issues/809.
475
+
// This is kind of an icky timing workaround, but the issue really is that user code after importLibrary is getting invoked 1 microtask before the library code handles the completion.
476
+
returnawaitgoogle.maps.importLibrary(name);
475
477
}
476
478
477
479
/**
@@ -629,7 +631,7 @@ export class Loader {
629
631
// short circuit and warn if google.maps is already loaded
0 commit comments