-
Notifications
You must be signed in to change notification settings - Fork 44
feat: Optimize @googlemaps/js-api-loader to use importLibrary method #21
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
Conversation
00456ef to
7ade34e
Compare
7ade34e to
92cff5d
Compare
|
Hi @OS-pedrogustavobilro , Thank you for your time and support! |
|
Hi @AE1NS thanks for this PR. |
| const loader = new lib.Loader({ | ||
| apiKey: apiKey ?? '', | ||
| version: 'weekly', | ||
| libraries: ['places'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this line removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that the places library is not needed anywhere, so I just referenced the maps library.
Unfortunately I dont have a public accessible example for this. You can see more details in the linked discussion inside the issue. |
Closes #22