Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow all available query parameters on maps sdk #102

Closed
jmcarp opened this issue Feb 1, 2016 · 2 comments
Closed

Allow all available query parameters on maps sdk #102

jmcarp opened this issue Feb 1, 2016 · 2 comments

Comments

@jmcarp
Copy link

jmcarp commented Feb 1, 2016

It would be useful if users could specify all relevant query parameters on the sdk download link, so that it's possible to create URLs like e.g. https://maps.googleapis.com/maps/api/js?v=3.2.2&libraries=geometry,places.

@sebholstein
Copy link
Owner

@jmcarp makes 100% sense, I plan this for 0.7.0. Feel free to send a PR if you have time. Thanks

@IAMtheIAM
Copy link

IAMtheIAM commented Mar 24, 2017

Pardon my ignorance, but how do we implement this method LazyMapsAPILoader to call the libraries we want? The documentation doesn't give any tips or examples yet.

Edit: I figured it out. it goes on the module that imports it.

imports [
AgmCoreModule.forRoot({
         apiKey: 'your_Key',
          libraries: ['drawing', 'places']
      })]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants