dylanfprice/angular-gm

Load Google Maps Asynchronously

Closed this issue · 1 comments

Hi, it seems that loading the google maps blocks our Angular App even though the user is not looking to use the app. So I would like to know is it possible to asynchronously load the google map?

AngularGM should load fine without google maps--but if you try to use it's directives it will expect google maps to be loaded. If you delay bootstrapping of your app until after google maps is loaded it should work.